Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -8,6 +8,7 @@ WORKDIR /code
|
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
11 |
|
12 |
RUN useradd -m -u 1000 user
|
13 |
|
@@ -21,5 +22,5 @@ WORKDIR $HOME/app
|
|
21 |
COPY --chown=user . $HOME/app
|
22 |
|
23 |
RUN ["python", "initialSetup.py"]
|
24 |
-
|
25 |
CMD ["python", "main.py"]
|
|
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
11 |
+
RUN sudo apt-get install libvulkan-dev
|
12 |
|
13 |
RUN useradd -m -u 1000 user
|
14 |
|
|
|
22 |
COPY --chown=user . $HOME/app
|
23 |
|
24 |
RUN ["python", "initialSetup.py"]
|
25 |
+
RUN mkdir -p hi && echo Hi! > hi/index.html && python -m http.server 7860 -d hi &
|
26 |
CMD ["python", "main.py"]
|