Skip to content

Commit e854604

Browse files
committed
Move docker compose to meta
1 parent 4c0509c commit e854604

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,11 @@ COPY --from=collectstatic /static /srv/http/static
3030

3131
FROM base AS dev
3232
ENV RUN_MODE=dev
33+
COPY ./entrypoint.sh .
34+
ENTRYPOINT ["/app/entrypoint.sh"]
3335

3436

35-
FROM base AS server
37+
FROM dev AS server
3638
ENV RUN_MODE=prod
3739

38-
COPY ./entrypoint.sh .
39-
4040
COPY . .
41-
42-
ENTRYPOINT ["/app/entrypoint.sh"]
43-

0 commit comments

Comments
 (0)