修改dockerfile

This commit is contained in:
admin
2025-11-05 01:47:50 +00:00
parent d7832e5345
commit d887ee2c7b

View File

@@ -7,11 +7,11 @@ COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 复制应用代码
COPY src/ ./src/
COPY run.py .
# COPY src/ ./src/
COPY . .
# 暴露端口
EXPOSE 8000
# 启动命令
CMD ["python", "run.py"]
CMD ["python", "app.py"]