From 662c6e3500cd9add82b96e2c778750f7240f43ee Mon Sep 17 00:00:00 2001 From: Witalij Poljatchek Date: Wed, 10 Jan 2024 23:53:46 +0100 Subject: [PATCH] . --- Dockerfile | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 11c6509..0322934 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,22 +2,12 @@ FROM node:bookworm AS build RUN node -v -# make the 'app' folder the current working directory - -RUN pwd -RUN ls -WORKDIR /dist -RUN pwd -RUN ls -#COPY . . +WORKDIR /app +COPY . . -#FROM nginx -#RUN echo "----------------------------" -#RUN pwd -#RUN ls -#RUN echo "----------------------------" -#COPY --from=build . /usr/share/nginx/html/ +FROM nginx +COPY --from=build dist/ /usr/share/nginx/html/ #RUN rm /etc/nginx/conf.d/default.conf #COPY _nginx/nginx.conf /etc/nginx/conf.d