Spaces:
Runtime error
Runtime error
Commit
·
0631982
1
Parent(s):
fe715bb
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -4,6 +4,8 @@ ENV ADMIN_USERNAME=admin
|
|
4 | |
5 |
ENV ADMIN_PASSWORD=password
|
6 |
|
7 |
-
RUN sed -i 's/DENY/SAMEORIGIN/g' /doccano/docker/nginx/default.conf
|
|
|
|
|
8 |
|
9 |
CMD ["/doccano/tools/run.sh"]
|
|
|
4 | |
5 |
ENV ADMIN_PASSWORD=password
|
6 |
|
7 |
+
RUN sed -i 's/DENY/SAMEORIGIN/g' /doccano/docker/nginx/default.conf # doesnt do anything... doesnt seem to be using nginx
|
8 |
+
|
9 |
+
RUN echo "X_FRAME_OPTIONS = 'DENY'" > /doccano/local_settings.py
|
10 |
|
11 |
CMD ["/doccano/tools/run.sh"]
|