添加dockerfile
This commit is contained in:
4
.dockerignore
Normal file
4
.dockerignore
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
__pycache__
|
||||||
|
/venv
|
||||||
|
/.env
|
||||||
|
/.git
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
__pycache__
|
__pycache__
|
||||||
/venv
|
/venv
|
||||||
/.env
|
/.env
|
||||||
|
/.git
|
||||||
|
|||||||
11
Dockerfile
Normal file
11
Dockerfile
Normal 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"]
|
||||||
@@ -7,3 +7,4 @@ pydantic
|
|||||||
databases[aiomysql]
|
databases[aiomysql]
|
||||||
openai
|
openai
|
||||||
tokenizers
|
tokenizers
|
||||||
|
tqdm
|
||||||
|
|||||||
Reference in New Issue
Block a user