From 0e8c7845851e17f23c9db5254743f6fd3352bb22 Mon Sep 17 00:00:00 2001 From: Witalij Poljatchek Date: Thu, 11 Jan 2024 02:08:37 +0100 Subject: [PATCH] dir dockerfile --- Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2806cac..49fd816 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM node:bookworm AS build - -RUN node -v - -WORKDIR /app -COPY . . +#FROM node:bookworm AS build +#RUN node -v +#WORKDIR /app +#COPY . . FROM nginx -COPY --from=build /app /usr/share/nginx/html/ +WORKDIR /app +COPY . . +COPY --from=build /app/dist /usr/share/nginx/html/ RUN rm /etc/nginx/conf.d/default.conf COPY _nginx/nginx.conf /etc/nginx/conf.d \ No newline at end of file