Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -9,11 +9,13 @@ ENV TORCH_HOME=/tmp/torch_cache
|
|
9 |
RUN mkdir -p $HF_HOME && chmod -R 777 $HF_HOME
|
10 |
RUN mkdir -p $TORCH_HOME && chmod -R 777 $TORCH_HOME
|
11 |
|
|
|
12 |
RUN apt-get update && apt-get install -y \
|
13 |
-
libgl1
|
14 |
libglib2.0-0 \
|
15 |
&& rm -rf /var/lib/apt/lists/*
|
16 |
|
|
|
17 |
COPY ./requirements.txt /code/requirements.txt
|
18 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
19 |
|
|
|
9 |
RUN mkdir -p $HF_HOME && chmod -R 777 $HF_HOME
|
10 |
RUN mkdir -p $TORCH_HOME && chmod -R 777 $TORCH_HOME
|
11 |
|
12 |
+
# dependencies required by OpenCV
|
13 |
RUN apt-get update && apt-get install -y \
|
14 |
+
libgl1 \
|
15 |
libglib2.0-0 \
|
16 |
&& rm -rf /var/lib/apt/lists/*
|
17 |
|
18 |
+
|
19 |
COPY ./requirements.txt /code/requirements.txt
|
20 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
21 |
|