We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c0509c commit e854604Copy full SHA for e854604
1 file changed
Dockerfile
@@ -30,14 +30,11 @@ COPY --from=collectstatic /static /srv/http/static
30
31
FROM base AS dev
32
ENV RUN_MODE=dev
33
+COPY ./entrypoint.sh .
34
+ENTRYPOINT ["/app/entrypoint.sh"]
35
36
-FROM base AS server
37
+FROM dev AS server
38
ENV RUN_MODE=prod
39
-COPY ./entrypoint.sh .
-
40
COPY . .
41
42
-ENTRYPOINT ["/app/entrypoint.sh"]
43
0 commit comments