build: fix dockerfile

pull/5/head^2
hanchchch 1 year ago
parent 3ec0cc786c
commit cca84704ff

@ -0,0 +1,3 @@
.env
__pycache__
.venv

@ -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

@ -3,8 +3,7 @@ name = "eval"
version = "0.1.0"
description = ""
authors = ["Taeho Lee <taeho@corca.ai>", "Chung Hwan Han <hanch@corca.ai>"]
readme = "README.md"
packages = [{include = "api"},{include = "core"}]
packages = [{include = "api"}]
[tool.poetry.scripts]
serve = "api.main:serve"

Loading…
Cancel
Save