Files
asimonson1125.github.io/Dockerfile
2025-05-09 15:35:42 -05:00

15 lines
287 B
Docker
Executable File

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