diff --git a/slaeforms/app.py b/slaeforms/app.py
index a02f65c..034256e 100644
--- a/slaeforms/app.py
+++ b/slaeforms/app.py
@@ -657,5 +657,8 @@ def delete_all_entries():
# Close the session
db.session.close()
+def create_app():
+ return app
+
if __name__ == '__main__':
- app.run()
\ No newline at end of file
+ app.run()
diff --git a/slaeforms/dockerfile b/slaeforms/dockerfile
new file mode 100644
index 0000000..a3153c4
--- /dev/null
+++ b/slaeforms/dockerfile
@@ -0,0 +1,17 @@
+# Use the official Python image from the Docker Hub
+FROM python:3.10-slim
+
+# Set the working directory
+WORKDIR /slaeforms
+
+# Copy the rest of the application code to the working directory
+COPY . .
+
+# Install the dependencies
+RUN pip install --no-cache-dir -r requirements.txt
+
+# Expose the port on which the app will run
+EXPOSE 8000
+
+# Define the command to run the application using Gunicorn
+CMD ["gunicorn", "--bind", "0.0.0.0:8000", "app:create_app()"]
\ No newline at end of file
diff --git a/slaeforms/requirements.txt b/slaeforms/requirements.txt
new file mode 100644
index 0000000..457a64d
--- /dev/null
+++ b/slaeforms/requirements.txt
@@ -0,0 +1,16 @@
+blinker==1.8.2
+click==8.1.7
+colorama==0.4.6
+Flask==3.0.3
+Flask-SQLAlchemy==3.1.1
+Flask-WTF==1.2.1
+greenlet==3.0.3
+gunicorn==22.0.0
+itsdangerous==2.2.0
+Jinja2==3.1.4
+MarkupSafe==2.1.5
+packaging==24.1
+SQLAlchemy==2.0.30
+typing_extensions==4.12.2
+Werkzeug==3.0.3
+WTForms==3.1.2
diff --git a/slaeforms/templates/layout2.html b/slaeforms/templates/layout2.html
index f3154dc..d73ce1a 100644
--- a/slaeforms/templates/layout2.html
+++ b/slaeforms/templates/layout2.html
@@ -1,64 +1,64 @@
-
-
-
-
-
-
- Testform
-
-
-
-
-
Question: {{ current_question }}
- {% if (videotype == "single")%}
-
-
Video 1
-
-
- {% elif (videotype == "pairwise")%}
-
-
-
Video 1
-
-
-
-
Video 2
-
-
-
-
- {% else %}
-
Error: No Videotype could be matched or was given!
Error: No Videotype could be matched or was given!
+ {% endif %}
+
+
+
\ No newline at end of file
diff --git a/slaeforms/templates/login.html b/slaeforms/templates/login.html
index 6c2bf6a..6fc1cc1 100644
--- a/slaeforms/templates/login.html
+++ b/slaeforms/templates/login.html
@@ -12,7 +12,7 @@
Some pages require you to be logged in.
-
diff --git a/slaeforms/templates/myvideotemplate.html b/slaeforms/templates/old_unused/myvideotemplate.html
similarity index 97%
rename from slaeforms/templates/myvideotemplate.html
rename to slaeforms/templates/old_unused/myvideotemplate.html
index 6e3cbf4..608dca2 100644
--- a/slaeforms/templates/myvideotemplate.html
+++ b/slaeforms/templates/old_unused/myvideotemplate.html
@@ -1,142 +1,142 @@
-
-
-
-
-
-
-
- Testform
-
-
-
-
-
-
Gib Feedback als Video
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ Testform
+
+
+
+
+
+
Gib Feedback als Video
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/slaeforms/templates/popuptest.html b/slaeforms/templates/popuptest.html
index 11920b0..176f923 100644
--- a/slaeforms/templates/popuptest.html
+++ b/slaeforms/templates/popuptest.html
@@ -39,7 +39,7 @@
If you have further questions, please send an email to testemail@notarealemail.deee