Skip to content

Commit

Permalink
misc: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
himkt committed May 12, 2024
1 parent 54f16be commit a73f6ea
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@ RUN tar zxvf kytea-0.4.7.tar.gz \

WORKDIR /work

COPY ./data ./data
COPY ./src ./src
COPY ./pyproject.toml ./pyproject.toml
COPY ./poetry.lock ./poetry.lock
COPY ./README.md ./README.md
COPY ./data ./data
COPY ./src ./src
COPY ./pyproject.toml ./pyproject.toml
COPY ./requirements.lock ./requirements.lock
COPY ./README.md ./README.md

RUN python3.10 -m pip install -U pip
RUN python3.10 -m pip install .[all]
RUN python3.10 -m pip install -r requirements.lock
RUN python3.10 -m pip install .

CMD [ \
"python3.10", "-m", "uvicorn", \
Expand Down

0 comments on commit a73f6ea

Please sign in to comment.