bbuddy-ui/Dockerfile

18 lines
293 B
Docker

FROM node:20-bullseye AS build
RUN node -v
# make the 'app' folder the current working directory
WORKDIR bbuddy_ui_master
COPY . .
FROM nginx
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