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

mostrar node y npm version

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -19,7 +19,6 @@ RUN apt upgrade -y
19
  RUN apt -y install apache2
20
  RUN apt -y install nodejs
21
 
22
- RUN node -v
23
  RUN rm -rf /var/lib/apt/lists/*
24
 
25
  COPY entrypoint.sh entrypoint.sh
@@ -29,9 +28,11 @@ EXPOSE 7860
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"]
 
19
  RUN apt -y install apache2
20
  RUN apt -y install nodejs
21
 
 
22
  RUN rm -rf /var/lib/apt/lists/*
23
 
24
  COPY entrypoint.sh entrypoint.sh
 
28
  WORKDIR app
29
  RUN ls
30
 
31
+ RUN node -v
32
+ RUN npm --version
33
+ #RUN npm install
34
+ # RUN npm build
35
+ # RUN cd /dist/. /var/etc/html
36
  #USER root
37
  #RUN cat /etc/passwd
38
  #ENTRYPOINT ["./entrypoint.sh"]