Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
|
@@ -14,6 +14,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
|
| 14 |
libgomp1 \
|
| 15 |
libfontconfig1 \
|
| 16 |
libgl1-mesa-glx \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
libc6 \
|
| 18 |
libxdamage1 \
|
| 19 |
libxfixes3 \
|
|
@@ -96,4 +101,6 @@ COPY --chown=user . $HOME/app
|
|
| 96 |
# Set the working directory to the user's home directory
|
| 97 |
WORKDIR $HOME/app
|
| 98 |
|
|
|
|
|
|
|
| 99 |
CMD ["python", "app.py"]
|
|
|
|
| 14 |
libgomp1 \
|
| 15 |
libfontconfig1 \
|
| 16 |
libgl1-mesa-glx \
|
| 17 |
+
libglfw3 \
|
| 18 |
+
libglfw3-dev \
|
| 19 |
+
libglew2.1 \
|
| 20 |
+
libglew-dev \
|
| 21 |
+
mesa-utils \
|
| 22 |
libc6 \
|
| 23 |
libxdamage1 \
|
| 24 |
libxfixes3 \
|
|
|
|
| 101 |
# Set the working directory to the user's home directory
|
| 102 |
WORKDIR $HOME/app
|
| 103 |
|
| 104 |
+
ENV DISPLAY=:0
|
| 105 |
+
|
| 106 |
CMD ["python", "app.py"]
|