Files
asimonson1125.github.io/Dockerfile
2023-01-27 22:01:51 -06:00

13 lines
291 B
Docker

FROM docker.io/python:3.8-buster
LABEL maintainer="Andrew Simonson <asimonson1125@gmail.com>"
WORKDIR /app
ADD ./src /app
COPY . .
RUN apt-get -yq update && \
pip install --no-cache-dir -r ./src/requirements.txt
WORKDIR /app/src
CMD [ "gunicorn", "--bind", "0.0.0.0:8080", "app:app"]