This commit is contained in:
Witalij Poljatchek 2024-01-10 23:20:15 +01:00
parent 217fabae7d
commit 90476a8673
1 changed files with 7 additions and 13 deletions

View File

@ -4,23 +4,17 @@ RUN node -v
# make the 'app' folder the current working directory
RUN echo "----------------------------"
RUN pwd
RUN ls
RUN echo "----------------------------"
WORKDIR /dist
#WORKDIR /dist
COPY . .
RUN echo "----------------------------"
RUN pwd
RUN ls
RUN echo "----------------------------"
FROM nginx
RUN echo "----------------------------"
RUN pwd
RUN ls
RUN echo "----------------------------"
COPY --from=build . /usr/share/nginx/html/
#FROM nginx
#RUN echo "----------------------------"
#RUN pwd
#RUN ls
#RUN echo "----------------------------"
#COPY --from=build . /usr/share/nginx/html/
#RUN rm /etc/nginx/conf.d/default.conf
#COPY _nginx/nginx.conf /etc/nginx/conf.d