chartManD commited on
Commit
41405e3
1 Parent(s): a719e40

build de app

Browse files
Files changed (1) hide show
  1. 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
- #CMD ["node", "mocos.js"]
 
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"]