Compare commits

...

2 Commits

Author SHA1 Message Date
3b529729c9 Merge branch 'main' of git.wilw.dev:seastorm/treadl 2021-12-08 18:38:29 +00:00
4b4cbaa74f updated Dockerfile 2021-12-08 18:38:21 +00:00

View File

@ -3,9 +3,15 @@ FROM python:3.7.7-slim-buster
# set work directory
WORKDIR /app
# install dependencies
COPY . /app/
# Install dependencies
RUN pip install poetry
COPY poetry.lock /app
COPY pyproject.toml /app
RUN poetry export -f requirements.txt | pip install -r /dev/stdin
# Add remaining files
COPY . /app/
CMD ["gunicorn" , "-b", "0.0.0.0:8000", "app:app"]