hlarcher HF Staff commited on
Commit
908192e
·
verified ·
1 Parent(s): 15c6684

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -5,6 +5,10 @@ RUN apt-get update && apt-get install -y \
5
  ENV POETRY_HOME=/poetry
6
  RUN mkdir /poetry && curl -sSL https://install.python-poetry.org | POETRY_HOME=/poetry python3 -
7
  ENV PATH="/poetry/bin/:$PATH"
 
 
 
 
8
  WORKDIR /app
9
  CMD ["bash"]
10
  RUN git clone https://github.com/huggingface/inference-benchmarker.git \
 
5
  ENV POETRY_HOME=/poetry
6
  RUN mkdir /poetry && curl -sSL https://install.python-poetry.org | POETRY_HOME=/poetry python3 -
7
  ENV PATH="/poetry/bin/:$PATH"
8
+ RUN poetry config virtualenvs.create false \
9
+ && poetry config cache-dir /poetry/cache \
10
+ && poetry config installer.parallel false \
11
+ && poetry config virtualenvs.in-project true
12
  WORKDIR /app
13
  CMD ["bash"]
14
  RUN git clone https://github.com/huggingface/inference-benchmarker.git \