sample backend deployment

This commit is contained in:
2024-05-16 17:34:54 +02:00
parent 464a42153e
commit 314528f80d
4 changed files with 932 additions and 0 deletions

11
backend/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM python:3
WORKDIR /app
COPY Pipfile Pipfile.lock /app/
RUN pip install pipenv
RUN pipenv install --deploy --ignore-pipfile
COPY . /src
CMD ["pipenv", "run", "python", "/app/src/main.py"]