Spaces:
Sleeping
Sleeping
build de app
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
@@ -28,7 +28,11 @@ EXPOSE 7860
|
|
28 |
#EXPOSE 22
|
29 |
WORKDIR app
|
30 |
RUN ls
|
|
|
|
|
|
|
|
|
31 |
#USER root
|
32 |
#RUN cat /etc/passwd
|
33 |
-
ENTRYPOINT ["./entrypoint.sh"]
|
34 |
-
|
|
|
28 |
#EXPOSE 22
|
29 |
WORKDIR app
|
30 |
RUN ls
|
31 |
+
|
32 |
+
RUN npm install
|
33 |
+
RUN npm build
|
34 |
+
RUN cd /dist/. /var/etc/html
|
35 |
#USER root
|
36 |
#RUN cat /etc/passwd
|
37 |
+
#ENTRYPOINT ["./entrypoint.sh"]
|
38 |
+
CMD ["node", "mocos.js"]
|