Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -9,6 +9,10 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
9 |
|
10 |
WORKDIR /app
|
11 |
|
|
|
|
|
|
|
|
|
12 |
COPY --chown=user ./requirements.txt requirements.txt
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
|
|
|
9 |
|
10 |
WORKDIR /app
|
11 |
|
12 |
+
USER root
|
13 |
+
RUN apt-get update && apt-get install -y libgl1
|
14 |
+
|
15 |
+
USER user
|
16 |
COPY --chown=user ./requirements.txt requirements.txt
|
17 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
18 |
|