FROM doccano/doccano ENV ADMIN_USERNAME=admin ENV ADMIN_EMAIL=admin@admin.com ENV ADMIN_PASSWORD=password # Otherwise it gets blocked by X-FRAME DENY # https://github.com/doccano/doccano/blob/a2918f792e2a1d076c5f3abbbc7af7e3b2c11d0b/backend/config/settings/base.py#L85 RUN echo "X_FRAME_OPTIONS = 'SAMEORIGIN'" > /doccano/local_settings.py RUN sed -i 's/"django.middleware.clickjacking.XFrameOptionsMiddleware",//g' /doccano/backend/config/settings/base.py CMD ["/doccano/tools/run.sh"]