Add Dockerfile for application containerization

This commit is contained in:
2025-12-28 13:03:12 +01:00
parent 4b943ee0c9
commit fa95fd0279

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM alpine:3.23
RUN apk add --no-cache python3 py3-pip
RUN pip3 install --break-system-packages flask flask-httpauth gunicorn requests jmespath
# Clean up apk cache
RUN rm -rf /var/cache/apk/*
WORKDIR /app
COPY app.py /app/app.py
EXPOSE 8080
CMD ["gunicorn", "--bind", "0.0.0.0:8080", "app:app"]