Skip to content

Commit a65c20c

Browse files
committed
updates docker Makefile
1 parent 666eed4 commit a65c20c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docker/Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,14 @@ run:
6767
$(MAKE) .run
6868

6969
test:
70-
CMD='bash -c "django-admin check --deploy"' $(MAKE) .run
70+
RUN_OPTIONS="-e DEBUG=0 \
71+
-e X_FRAME_OPTIONS=DENY \
72+
-e SESSION_COOKIE_SECURE=1 \
73+
-e CSRF_COOKIE_SECURE=1 \
74+
-e SECURE_HSTS_PRELOAD=1 \
75+
-e SECURE_SSL_REDIRECT=1" \
76+
CMD='bash -c "django-admin check --deploy"' \
77+
$(MAKE) .run
7178

7279
scratch:
7380
RUN_OPTIONS=-it CMD='/bin/bash' $(MAKE) .run

0 commit comments

Comments
 (0)