This commit is contained in:
2022-10-04 12:04:57 +02:00
commit fe0211e00b
8 changed files with 544 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM python:3.10-alpine
WORKDIR /usr/src/app
COPY pyproject.toml poetry.lock README.md ./
COPY backend backend
RUN pip install -e "."
ENTRYPOINT ["hypercorn", "backend:app"]
CMD ["--bind", "0.0.0.0:80"]