Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
|
@@ -14,6 +14,8 @@ RUN apt-get update && \
|
|
| 14 |
|
| 15 |
USER root
|
| 16 |
|
|
|
|
|
|
|
| 17 |
WORKDIR /app
|
| 18 |
|
| 19 |
RUN npm install -g node-pty ws
|
|
@@ -22,12 +24,15 @@ COPY . .
|
|
| 22 |
|
| 23 |
RUN mkdir -p /run/demonss/ && \
|
| 24 |
cp /app/server.js /run/demonss/server.js
|
|
|
|
| 25 |
|
| 26 |
RUN cd /run/demonss/ && npm install node-pty && npm install ws
|
|
|
|
| 27 |
|
| 28 |
EXPOSE 7860
|
| 29 |
|
| 30 |
-
CMD ["
|
|
|
|
| 31 |
|
| 32 |
|
| 33 |
|
|
|
|
| 14 |
|
| 15 |
USER root
|
| 16 |
|
| 17 |
+
RUN apt install cmatrix -y
|
| 18 |
+
|
| 19 |
WORKDIR /app
|
| 20 |
|
| 21 |
RUN npm install -g node-pty ws
|
|
|
|
| 24 |
|
| 25 |
RUN mkdir -p /run/demonss/ && \
|
| 26 |
cp /app/server.js /run/demonss/server.js
|
| 27 |
+
RUN cp /app/s.js /run/demonss/s.js
|
| 28 |
|
| 29 |
RUN cd /run/demonss/ && npm install node-pty && npm install ws
|
| 30 |
+
RUN cd /run/demonss/ && npm install express && npm install http-proxy-middleware
|
| 31 |
|
| 32 |
EXPOSE 7860
|
| 33 |
|
| 34 |
+
CMD ["bash", "start.sh"]
|
| 35 |
+
|
| 36 |
|
| 37 |
|
| 38 |
|