Spaces:
Paused
Paused
Suprhimp
commited on
Commit
·
09aa251
1
Parent(s):
99b7fa5
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -10,9 +10,11 @@ RUN apt-get install -y python3-opengl
|
|
| 10 |
RUN apt update && apt install -y python3 python3-pip git xvfb xorg-dev cmake
|
| 11 |
RUN apt-get upgrade -y && apt-get install -y python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
|
| 12 |
RUN pip install -r requirements.txt
|
| 13 |
-
RUN mkdir /projects
|
| 14 |
RUN git clone https://github.com/glfw/glfw.git /projects/glfw
|
| 15 |
-
RUN cd /projects/glfw
|
|
|
|
|
|
|
| 16 |
RUN cmake -DBUILD_SHARED_LIBS=ON .
|
| 17 |
RUN make
|
| 18 |
RUN export PYGLFW_LIBRARY=/projects/glfw/src/libglfw.so
|
|
|
|
| 10 |
RUN apt update && apt install -y python3 python3-pip git xvfb xorg-dev cmake
|
| 11 |
RUN apt-get upgrade -y && apt-get install -y python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
|
| 12 |
RUN pip install -r requirements.txt
|
| 13 |
+
RUN mkdir /code/projects
|
| 14 |
RUN git clone https://github.com/glfw/glfw.git /projects/glfw
|
| 15 |
+
RUN cd /code/projects/glfw
|
| 16 |
+
|
| 17 |
+
WORKDIR /code/projects/glfw
|
| 18 |
RUN cmake -DBUILD_SHARED_LIBS=ON .
|
| 19 |
RUN make
|
| 20 |
RUN export PYGLFW_LIBRARY=/projects/glfw/src/libglfw.so
|