Skip to content

Commit f475ae8

Browse files
Merge branch 'master' into pyproject.toml-upgrade
2 parents 6fccefb + afea0c3 commit f475ae8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,9 @@ COPY run-app.sh /app/
4141
# Put the uv built Python packages in the PATH
4242
ENV PYTHONPATH="/app/.venv/lib/python3.13/site-packages/:"
4343

44-
CMD ["/app/run-app.sh"]
44+
# Sync the project into a new environment, asserting the lockfile is up to date
45+
COPY pyproject.toml /app/
46+
COPY uv.lock /app/
47+
RUN /bin/uv sync --locked --group deploy
48+
49+
CMD [".venv/bin/gunicorn" , "--bind", "0.0.0.0:8080", "--worker-tmp-dir", "/dev/shm", "app:app"]

0 commit comments

Comments
 (0)