From fa95fd0279a12bcec19bfac50a16b14044a1357e Mon Sep 17 00:00:00 2001 From: Slawek Koszewski Date: Sun, 28 Dec 2025 13:03:12 +0100 Subject: [PATCH] Add Dockerfile for application containerization --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..cb85713 --- /dev/null +++ b/Dockerfile @@ -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"]