Update Dockerfile
Browse files- 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 \
|