copy Dockerfile

This commit is contained in:
Witalij Poljatchek 2024-01-10 22:50:43 +01:00
parent 315ad2d5bd
commit 505d97d68a
1 changed files with 2 additions and 4 deletions

View File

@ -3,13 +3,11 @@ FROM node:bookworm AS build
RUN node -v
# make the 'app' folder the current working directory
CMD [ "pwd" ]
WORKDIR /app
CMD ['pwd']
WORKDIR /dist
#COPY dist
FROM nginx
COPY --from=build dist/ /usr/share/nginx/html/
COPY --from=build . /usr/share/nginx/html/
#RUN rm /etc/nginx/conf.d/default.conf
#COPY _nginx/nginx.conf /etc/nginx/conf.d