From b6f654594ed5e643f104b7f6c0feeac37c89d18a Mon Sep 17 00:00:00 2001 From: bramval Date: Wed, 21 Jan 2026 21:45:21 +0100 Subject: [PATCH] first commit --- Dockerfile | 12 ++++++++++++ app.py | 0 instance/DATABASE.txt | 0 requirements.txt | 0 static/CONTENT.txt | 0 templates/HTML FILES.txt | 0 wsgi.py | 4 ++++ 7 files changed, 16 insertions(+) create mode 100644 Dockerfile create mode 100644 app.py create mode 100644 instance/DATABASE.txt create mode 100644 requirements.txt create mode 100644 static/CONTENT.txt create mode 100644 templates/HTML FILES.txt create mode 100644 wsgi.py diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..073f685 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3.11-slim + +COPY ./requirements.txt requirements.txt + +RUN pip install --no-cache-dir --upgrade -r requirements.txt + +COPY . . + +EXPOSE 5000 + +CMD ["gunicorn", "wsgi:app", "-b", "0.0.0.0:5000"] + diff --git a/app.py b/app.py new file mode 100644 index 0000000..e69de29 diff --git a/instance/DATABASE.txt b/instance/DATABASE.txt new file mode 100644 index 0000000..e69de29 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/static/CONTENT.txt b/static/CONTENT.txt new file mode 100644 index 0000000..e69de29 diff --git a/templates/HTML FILES.txt b/templates/HTML FILES.txt new file mode 100644 index 0000000..e69de29 diff --git a/wsgi.py b/wsgi.py new file mode 100644 index 0000000..86c4d03 --- /dev/null +++ b/wsgi.py @@ -0,0 +1,4 @@ +from app import app + +if __name__ == '__main__': + app.run()