mirror of
https://github.com/corca-ai/EVAL
synced 2024-10-30 09:20:44 +00:00
build: fix dockerfile
This commit is contained in:
parent
3ec0cc786c
commit
cca84704ff
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.env
|
||||||
|
__pycache__
|
||||||
|
.venv
|
@ -15,6 +15,7 @@ ENV PATH "/root/.local/bin:$PATH"
|
|||||||
COPY pyproject.toml .
|
COPY pyproject.toml .
|
||||||
COPY poetry.lock .
|
COPY poetry.lock .
|
||||||
|
|
||||||
|
COPY api api
|
||||||
RUN poetry env use 3.10
|
RUN poetry env use 3.10
|
||||||
RUN poetry install --with tools
|
RUN poetry install --with tools
|
||||||
|
|
||||||
|
@ -3,8 +3,7 @@ name = "eval"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["Taeho Lee <taeho@corca.ai>", "Chung Hwan Han <hanch@corca.ai>"]
|
authors = ["Taeho Lee <taeho@corca.ai>", "Chung Hwan Han <hanch@corca.ai>"]
|
||||||
readme = "README.md"
|
packages = [{include = "api"}]
|
||||||
packages = [{include = "api"},{include = "core"}]
|
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
serve = "api.main:serve"
|
serve = "api.main:serve"
|
||||||
|
Loading…
Reference in New Issue
Block a user