123456789101112131415 |
- 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", "--ssl-keyfile=./key.pem", "--ssl-certfile=./cert.pem"]
|