diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..0675e56 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,8 @@ +__pycache__ +*.pyc +*.pyo +*.pyd +.git +.gitignore +.env +venv \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..38d4635 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.12-slim + +WORKDIR /app + +COPY requirements.txt . + +RUN pip install --no-cache-dir -r requirements.txt + +COPY . . + +EXPOSE 5000 + +CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app"] \ No newline at end of file diff --git a/database.db b/database.db index 43ae369..5dbbb05 100644 Binary files a/database.db and b/database.db differ diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..11470fb --- /dev/null +++ b/requirements.txt @@ -0,0 +1,8 @@ +blinker==1.9.0 +click==8.4.2 +colorama==0.4.6 +Flask==3.1.3 +itsdangerous==2.2.0 +Jinja2==3.1.6 +MarkupSafe==3.0.3 +Werkzeug==3.1.8