Skip to content

Commit

Permalink
Fix docker image security issues (opea-project#1321)
Browse files Browse the repository at this point in the history
Signed-off-by: ZePan110 <[email protected]>
  • Loading branch information
ZePan110 authored Feb 24, 2025
1 parent f5699e4 commit 589587a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ COPY --chown=user:user comps /home/user/comps
# Install requirements and optimum habana
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r /home/user/comps/asr/src/requirements.txt && \
pip install --no-cache-dir optimum[habana]
pip install --no-cache-dir optimum[habana] && \
pip install git+https://github.com/huggingface/optimum-habana.git@transformers_future && \
pip install --no-cache-dir --upgrade Jinja2

ENV PYTHONPATH=$PYTHONPATH:/home/users

Expand Down

0 comments on commit 589587a

Please sign in to comment.