This commit is contained in:
parent
217fabae7d
commit
90476a8673
20
Dockerfile
20
Dockerfile
|
@ -4,23 +4,17 @@ RUN node -v
|
||||||
|
|
||||||
# make the 'app' folder the current working directory
|
# make the 'app' folder the current working directory
|
||||||
|
|
||||||
RUN echo "----------------------------"
|
|
||||||
RUN pwd
|
RUN pwd
|
||||||
RUN ls
|
RUN ls
|
||||||
RUN echo "----------------------------"
|
#WORKDIR /dist
|
||||||
WORKDIR /dist
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN echo "----------------------------"
|
|
||||||
RUN pwd
|
|
||||||
RUN ls
|
|
||||||
RUN echo "----------------------------"
|
|
||||||
|
|
||||||
FROM nginx
|
#FROM nginx
|
||||||
RUN echo "----------------------------"
|
#RUN echo "----------------------------"
|
||||||
RUN pwd
|
#RUN pwd
|
||||||
RUN ls
|
#RUN ls
|
||||||
RUN echo "----------------------------"
|
#RUN echo "----------------------------"
|
||||||
COPY --from=build . /usr/share/nginx/html/
|
#COPY --from=build . /usr/share/nginx/html/
|
||||||
|
|
||||||
#RUN rm /etc/nginx/conf.d/default.conf
|
#RUN rm /etc/nginx/conf.d/default.conf
|
||||||
#COPY _nginx/nginx.conf /etc/nginx/conf.d
|
#COPY _nginx/nginx.conf /etc/nginx/conf.d
|
||||||
|
|
Loading…
Reference in New Issue