Skip to content

Commit

Permalink
Merge pull request #12 from krflorian/feature/stackoverflow
Browse files Browse the repository at this point in the history
update dockerfile
  • Loading branch information
krflorian authored Mar 25, 2024
2 parents bb3c340 + a9d6aba commit 2b6ec01
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ FROM python:3.11
#
WORKDIR /app

COPY pyproject.toml poetry.lock app.py ./
COPY pyproject.toml poetry.lock README.md ./
COPY app.py requirements.txt ./
RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN pip install .

COPY ./src /app/src
RUN pip install .

RUN touch README.md
ARG HF_HOME="app/data/.cache"
ENV HF_HOME="app/data/.cache"
Expand Down

0 comments on commit 2b6ec01

Please sign in to comment.