Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -7
Dockerfile
CHANGED
@@ -2,7 +2,7 @@ FROM nikolaik/python-nodejs:python3.10-nodejs18
|
|
2 |
|
3 |
USER root
|
4 |
|
5 |
-
RUN apt-get -y update && apt-get -y install nginx xvfb
|
6 |
|
7 |
RUN mkdir -p /var/cache/nginx \
|
8 |
/var/log/nginx \
|
@@ -14,8 +14,6 @@ RUN chown -R pn:pn /var/cache/nginx \
|
|
14 |
/var/lib/nginx \
|
15 |
/var/run/nginx.pid
|
16 |
|
17 |
-
RUN pip install mlagents
|
18 |
-
|
19 |
USER pn
|
20 |
ENV HOME=/home/pn \
|
21 |
PATH=/home/pn/.local/bin:$PATH
|
@@ -30,8 +28,4 @@ COPY --chown=pn nginx.conf /etc/nginx/sites-available/default
|
|
30 |
|
31 |
COPY --chown=pn . .
|
32 |
|
33 |
-
RUN python -m pip install --upgrade pip
|
34 |
-
RUN pip install numpy
|
35 |
-
RUN pip install --upgrade pip setuptools wheel
|
36 |
-
|
37 |
CMD ["bash", "run.sh"]
|
|
|
2 |
|
3 |
USER root
|
4 |
|
5 |
+
RUN apt-get -y update && apt-get -y install nginx xvfb
|
6 |
|
7 |
RUN mkdir -p /var/cache/nginx \
|
8 |
/var/log/nginx \
|
|
|
14 |
/var/lib/nginx \
|
15 |
/var/run/nginx.pid
|
16 |
|
|
|
|
|
17 |
USER pn
|
18 |
ENV HOME=/home/pn \
|
19 |
PATH=/home/pn/.local/bin:$PATH
|
|
|
28 |
|
29 |
COPY --chown=pn . .
|
30 |
|
|
|
|
|
|
|
|
|
31 |
CMD ["bash", "run.sh"]
|