From 44b14bcfc581e532adea69270086e5ab88cfc939 Mon Sep 17 00:00:00 2001 From: lionel Date: Wed, 15 Apr 2026 10:04:24 +0000 Subject: [PATCH] Upload files to "/" --- Dockerfile | 15 +++++++++++++++ requirements.txt | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 Dockerfile create mode 100644 requirements.txt diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..94cff77 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.11-slim + +WORKDIR /app + +COPY requirements.txt /app/requirements.txt + +RUN python -m pip install --no-cache-dir --upgrade pip \ + && python -m pip install --no-cache-dir -r /app/requirements.txt \ + && python -m pip show Flask + +COPY . /app + +EXPOSE 5000 + +CMD ["python", "app.py"] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4f1e3bf --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +Flask==3.1.3 +ruff \ No newline at end of file