From 4ecc34f958ca1f2d7e30f353cc63258246e717a0 Mon Sep 17 00:00:00 2001 From: Shitesh Kumar Sharma <61706135+shitesh372@users.noreply.github.com> Date: Sun, 3 May 2026 14:56:09 +0530 Subject: [PATCH] Create dockerfile --- app/dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 app/dockerfile diff --git a/app/dockerfile b/app/dockerfile new file mode 100644 index 0000000..de4d73e --- /dev/null +++ b/app/dockerfile @@ -0,0 +1,17 @@ +FROM python:3.9-alpine + +WORKDIR /flask_app + +COPY /app/requirements.txt . + +RUN pip install --no-cache-dir -r requirements.txt + +RUN pip install pytest + +EXPOSE 8080 + +COPY app/ . + +COPY tests/ app/tests/ + +CMD [ "python", "app.py" ]