添加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
+4
View File
@@ -0,0 +1,4 @@
__pycache__
/venv
/.env
/.git
+1
View File
@@ -1,3 +1,4 @@
__pycache__
/venv
/.env
/.git
+11
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"]
+1
View File
@@ -7,3 +7,4 @@ pydantic
databases[aiomysql]
openai
tokenizers
tqdm