diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..5152f84 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +.env +__pycache__ +.venv diff --git a/Dockerfile b/Dockerfile index f9374ad..18f643b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,7 @@ ENV PATH "/root/.local/bin:$PATH" COPY pyproject.toml . COPY poetry.lock . +COPY api api RUN poetry env use 3.10 RUN poetry install --with tools diff --git a/pyproject.toml b/pyproject.toml index 6096f47..501b37c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,8 +3,7 @@ name = "eval" version = "0.1.0" description = "" authors = ["Taeho Lee ", "Chung Hwan Han "] -readme = "README.md" -packages = [{include = "api"},{include = "core"}] +packages = [{include = "api"}] [tool.poetry.scripts] serve = "api.main:serve"