Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
BeautyyuYanli authored Jun 25, 2024
1 parent 7cf17ca commit 4aec1e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ RUN apt-get update -qq && apt-get install -qqy --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app_build
COPY src/ pdm.lock pyproject.toml README.md /app_build/
RUN pip install pdm
RUN pdm use $(which python)
RUN pdm sync
RUN pip install pytorch-lightning==2.0.3 nltk>=3.8.1 pdm
RUN pip install pytorch-lightning==2.0.3 nltk>=3.8.1
RUN python -m nltk.downloader averaged_perceptron_tagger && \
python -m nltk.downloader cmudict
RUN pdm cache clear
Expand Down

0 comments on commit 4aec1e2

Please sign in to comment.