ready to fly

This commit is contained in:
2025-02-28 23:10:45 +08:00
parent 0b5426a5d1
commit 18c756ae0f
5 changed files with 28 additions and 5 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM python:3.12-alpine
WORKDIR /app
EXPOSE 8000
COPY requirements.txt /app
RUN pip config set global.index-url https://mirrors.ustc.edu.cn/pypi/web/simple
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app
RUN chmod +x /app/entrypoint.sh
ENTRYPOINT [ "/app/entrypoint.sh" ]