sample backend deployment
Some checks failed
Test code / Test code (push) Failing after 37s

This commit is contained in:
2024-05-16 17:34:54 +02:00
parent 713e4a6671
commit 7f4f707ab5
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"]