Spaces:
Build error
Build error
mostrar node y npm version
Browse files- 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
|
| 33 |
-
RUN npm
|
| 34 |
-
RUN
|
|
|
|
|
|
|
| 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"]
|