diff --git a/Dockerfile b/Dockerfile index 5c51e4f..1d0c87c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,7 @@ FROM python:3.9 WORKDIR /app # 复制应用程序文件到容器中 -COPY app.py /app/app.py -COPY /templates /app/templates -COPY requirements.txt /app/requirements.txt +COPY src /app COPY file/flag.sh /flag.sh RUN chmod +x /flag.sh # 安装应用程序依赖项 diff --git a/app.py b/src/app.py similarity index 100% rename from app.py rename to src/app.py diff --git a/assets/bg.webp b/src/assets/bg.webp similarity index 100% rename from assets/bg.webp rename to src/assets/bg.webp diff --git a/requirements.txt b/src/requirements.txt similarity index 100% rename from requirements.txt rename to src/requirements.txt diff --git a/templates/FLAG.txt b/src/templates/FLAG.txt similarity index 100% rename from templates/FLAG.txt rename to src/templates/FLAG.txt diff --git a/templates/index.html b/src/templates/index.html similarity index 100% rename from templates/index.html rename to src/templates/index.html