From 43f25622ea3b656fda20250b607e6a7b9de168d9 Mon Sep 17 00:00:00 2001 From: Witalij Poljatchek Date: Wed, 10 Jan 2024 19:02:11 +0100 Subject: [PATCH] dockerfile tune --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d27c94f..d2f3b73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,12 @@ FROM node:20-bullseye AS build RUN node -v # make the 'app' folder the current working directory -WORKDIR /app +WORKDIR bbuddy_ui_master COPY . . + FROM nginx -COPY --from=build /app/build/ /usr/share/nginx/html/ +COPY --from=build bbuddy_ui_master/dist/ /usr/share/nginx/html/ RUN rm /etc/nginx/conf.d/default.conf COPY _nginx/nginx.conf /etc/nginx/conf.d