Skip to content

Commit

Permalink
fix Dockerfile lint
Browse files Browse the repository at this point in the history
  • Loading branch information
justinthelaw committed Sep 16, 2024
1 parent c6c4fd9 commit 301fd42
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/vllm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,10 @@ COPY --chown=nonroot:nonroot packages/vllm packages/vllm

# create virtual environment for light-weight portability and minimal libraries
RUN curl https://pyenv.run | bash && \
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc && \
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc && \
echo 'eval "$(pyenv init -)"' >> ~/.bashrc && \
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc

echo "export PYENV_ROOT='$HOME/.pyenv'" >> ~/.bashrc && \
echo "export PATH='$PYENV_ROOT/bin:$PATH'" >> ~/.bashrc && \
echo "eval '$(pyenv init -)'" >> ~/.bashrc && \
echo "eval '$(pyenv virtualenv-init -)'" >> ~/.bashrc

# Set environment variables
ENV PYENV_ROOT="/home/nonroot/.pyenv" \
Expand Down

0 comments on commit 301fd42

Please sign in to comment.