Compare commits
No commits in common. "3b529729c9e7ea49dedf46688247f72facb8ea49" and "9b03662b173ae017bfb222add885ad335f7521c0" have entirely different histories.
3b529729c9
...
9b03662b17
@ -3,15 +3,9 @@ FROM python:3.7.7-slim-buster
|
|||||||
# set work directory
|
# set work directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install dependencies
|
# install dependencies
|
||||||
|
COPY . /app/
|
||||||
RUN pip install poetry
|
RUN pip install poetry
|
||||||
|
|
||||||
COPY poetry.lock /app
|
|
||||||
COPY pyproject.toml /app
|
|
||||||
|
|
||||||
RUN poetry export -f requirements.txt | pip install -r /dev/stdin
|
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"]
|
CMD ["gunicorn" , "-b", "0.0.0.0:8000", "app:app"]
|
||||||
|
Loading…
Reference in New Issue
Block a user