Spaces:
Paused
Paused
Suprhimp
commited on
Commit
·
89ad361
1
Parent(s):
a45abce
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -18,7 +18,6 @@ WORKDIR /projects/glfw
|
|
| 18 |
RUN cmake -DBUILD_SHARED_LIBS=ON .
|
| 19 |
RUN make
|
| 20 |
RUN export PYGLFW_LIBRARY=/projects/glfw/src/libglfw.so
|
| 21 |
-
RUN xvfb-run python3 some_script_using_pyopengl_and_glfw.py
|
| 22 |
|
| 23 |
# Run the command inside your image filesystem
|
| 24 |
# RUN pip install --upgrade pip && \
|
|
@@ -43,4 +42,4 @@ WORKDIR $HOME/app
|
|
| 43 |
|
| 44 |
COPY --chown=user . $HOME/app
|
| 45 |
|
| 46 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 18 |
RUN cmake -DBUILD_SHARED_LIBS=ON .
|
| 19 |
RUN make
|
| 20 |
RUN export PYGLFW_LIBRARY=/projects/glfw/src/libglfw.so
|
|
|
|
| 21 |
|
| 22 |
# Run the command inside your image filesystem
|
| 23 |
# RUN pip install --upgrade pip && \
|
|
|
|
| 42 |
|
| 43 |
COPY --chown=user . $HOME/app
|
| 44 |
|
| 45 |
+
CMD ["xvfb-run", "python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|