debug dockerfile

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

View File

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