anti-china / Dockerfile
s880453's picture
Upload Dockerfile
7bfef9b verified
raw
history blame contribute delete
200 Bytes
FROM python:3.9-slim
WORKDIR /app
# 複製所有文件
COPY . .
# 暴露端口
EXPOSE 7860
# 使用 Python 內建的 HTTP 伺服器
CMD ["python", "-m", "http.server", "7860", "--bind", "0.0.0.0"]