dockerfile tune
This commit is contained in:
parent
2b00d2b167
commit
43f25622ea
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue