bbuddy-ui/Dockerfile

18 lines
293 B
Docker
Raw Normal View History

2024-01-10 17:46:39 +00:00
FROM node:20-bullseye AS build
2024-01-02 18:51:59 +00:00
2024-01-10 17:46:39 +00:00
RUN node -v
# make the 'app' folder the current working directory
2024-01-10 18:02:11 +00:00
WORKDIR bbuddy_ui_master
2024-01-10 17:46:39 +00:00
COPY . .
2024-01-10 18:02:11 +00:00
2024-01-10 17:46:39 +00:00
FROM nginx
2024-01-10 18:02:11 +00:00
COPY --from=build bbuddy_ui_master/dist/ /usr/share/nginx/html/
2024-01-10 17:46:39 +00:00
RUN rm /etc/nginx/conf.d/default.conf
COPY _nginx/nginx.conf /etc/nginx/conf.d
2024-01-09 17:28:15 +00:00