This commit is contained in:
2024-04-12 23:07:34 +03:00
parent f6d316cb5e
commit c8dcf8844d
2 changed files with 7 additions and 0 deletions

6
backend/Dockerfile.prod Normal file
View File

@ -0,0 +1,6 @@
FROM python:3.12-alpine
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY ./app /code/app
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--root-path", "/api", "--reload"]