debug dockerfile

This commit is contained in:
Witalij Poljatchek 2024-01-10 22:59:33 +01:00
parent b3573a6a31
commit d03f7074b3
1 changed files with 2 additions and 2 deletions

View File

@ -5,9 +5,9 @@ RUN node -v
# make the 'app' folder the current working directory # make the 'app' folder the current working directory
WORKDIR /dist WORKDIR /dist
COPY . . COPY . .
CMD [ "pwd" ] RUN echo "$PWD"
FROM nginx FROM nginx
CMD [ "pwd" ] RUN echo "$PWD"
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