diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..38d2718 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +__pycache__ +/venv +/.env +/.git diff --git a/.gitignore b/.gitignore index d2c9293..38d2718 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ __pycache__ /venv /.env +/.git diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..53d685c --- /dev/null +++ b/Dockerfile @@ -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"] diff --git a/requirements.txt b/requirements.txt index f294077..3b56848 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,3 +7,4 @@ pydantic databases[aiomysql] openai tokenizers +tqdm