aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Grote2023-04-13 11:46:47 +0200
committerMichael Grote2023-04-13 11:46:47 +0200
commit4d8d19c938dcaa200da5d89219a376fbe266c6b8 (patch)
tree07e28dca1e7d9b219f69f4d90ceeee247271eed5
parent253bd36232ff73ffa08845631bb50b940f4d6d6b (diff)
remove index
-rw-r--r--Dockerfile1
-rw-r--r--index.html18
2 files changed, 0 insertions, 19 deletions
diff --git a/Dockerfile b/Dockerfile
index 2c81f8e..e29bb9d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,7 +14,6 @@ WORKDIR /app
COPY requirements.txt .
COPY app.py .
-COPY index.html ./templates/index.html
RUN pip install --no-cache-dir -r requirements.txt
diff --git a/index.html b/index.html
deleted file mode 100644
index 03fb046..0000000
--- a/index.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>File List</title>
-</head>
-<body>
- <h1>File List</h1>
- {% if files %}
- <ul>
- {% for file in files %}
- <li><a href="{{ url_for('download', filename=file.name) }}">{{ file.name }} ({{ file.size }} bytes)</a></li>
- {% endfor %}
- </ul>
- {% else %}
- <p>No files found.</p>
- {% endif %}
-</body>
-</html>