diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..9aff054 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +__pycache__ +*.pyc +venv +.git +*.db +``` \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d7d3205 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.13-slim + +WORKDIR /app + +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +COPY . . + +EXPOSE 5000 + +CMD ["python", "app.py"] +``` diff --git a/requirements.txt b/requirements.txt index 53ea104..7e0226c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -Flask==3.0.0 -Werkzeug==3.0.1 +Flask==3.1.2 +Werkzeug==3.1.5 \ No newline at end of file