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