Skip to content

Commit 4202134

Browse files
committed
feat: simplify dockerfile
1 parent 9a13ed8 commit 4202134

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

backend/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10 as base
2-
FROM pytorch/pytorch:2.2.1-cuda12.1-cudnn8-runtime as runner
3-
# when updating these iamges:
4-
# - make sure the python versions match
5-
# - upgrade the torch version in the requirements file
6-
7-
COPY --from=base /start-reload.sh /start-reload.sh
8-
COPY --from=base /start.sh /start.sh
9-
COPY --from=base /gunicorn_conf.py /gunicorn_conf.py
1+
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11 as base
102

113
ENV PYTHONDONTWRITEBYTECODE=1
124
ENV PYTHONUNBUFFERED=1

0 commit comments

Comments
 (0)