numeretti/pizzicore/Dockerfile
boyska 07315e0a6b move to SSL encryption
otherwise webapp will complain
2021-10-09 20:44:42 +02:00

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