Skip to content

Commit 4a48b49

Browse files
committed
Add -e production to prod shell/entrypoint
1 parent 88f4471 commit 4a48b49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template_sources/dockerfiles/{% if application_type != 'Minimal' %}Dockerfile{% endif %}.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ COPY scripts/run_trame.sh /
4848
RUN curl -fsSL https://pixi.sh/install.sh | sh
4949
ENV PATH="/root/.pixi/bin:${PATH}"
5050
RUN pixi install -e production
51-
SHELL [ "pixi", "run" ]
52-
ENTRYPOINT [ "pixi", "run", "--manifest-path", "/src/pyproject.toml" ]
51+
SHELL [ "pixi", "run", "-e", "production" ]
52+
ENTRYPOINT [ "pixi", "run", "-e", "production", "--manifest-path", "/src/pyproject.toml" ]
5353

5454
RUN pixi add --pypi supervisor
5555
RUN scripts/generate_static_client.sh

0 commit comments

Comments
 (0)