Skip to content

Commit 0625a74

Browse files
committed
Fix reverse proxy Dockerfile
- Point to correct image names - Add a SECRET_KEY environment variable while executing collectstatic
1 parent 2517374 commit 0625a74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/reverse_proxy/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM nerd_herder_frontend:latest as frontend
1+
FROM registry.gitlab.com/cache-rules/nerd_herder_ops/frontend:latest as frontend
22
RUN yarn build
3-
FROM nerd_herder_nerd_herder:latest as backend
4-
RUN python manage.py collectstatic --no-input
3+
FROM registry.gitlab.com/cache-rules/nerd_herder_ops/nerd_herder:latest as backend
4+
RUN SECRET_KEY=WORKAROUND_FOR_COLLECTSTATIC python manage.py collectstatic --no-input
55
FROM abiosoft/caddy:0.11.0-no-stats
66

77
COPY --from=frontend /usr/src/nerd_herder/frontend/build /var/www/nerd_herder/

0 commit comments

Comments
 (0)