dockerfile tune

This commit is contained in:
Witalij Poljatchek 2024-01-10 19:02:11 +01:00
parent 2b00d2b167
commit 43f25622ea
1 changed files with 3 additions and 2 deletions

View File

@ -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