From 505d97d68a3a5727f10f757c7c7c3b6a17700c0e Mon Sep 17 00:00:00 2001 From: Witalij Poljatchek Date: Wed, 10 Jan 2024 22:50:43 +0100 Subject: [PATCH] copy Dockerfile --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 00bf8a9..8049cd3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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