15 lines
289 B
Docker
15 lines
289 B
Docker
FROM python:3.7
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
WORKDIR /src
|
|
|
|
RUN apt-get update
|
|
|
|
RUN python -m pip install wheel
|
|
|
|
COPY requirements.txt /
|
|
RUN python -m pip install -r /requirements.txt
|
|
COPY . /src/
|
|
|
|
CMD ["uvicorn", "pizzicore:app", "--reload", "--port", "8000", "--host", "0.0.0.0"]
|