添加dockerfile

This commit is contained in:
2024-09-14 11:59:56 +08:00
parent 1198df2d4f
commit 2d5eae2a18
4 changed files with 17 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM docker.io/python:3.12.5
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt --no-cache-dir
COPY . .
ENTRYPOINT ["python", "-m"]