bbuddy-ui/Dockerfile

17 lines
269 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
WORKDIR /app
COPY . .
FROM nginx
COPY --from=build /app/build/ /usr/share/nginx/html/
RUN rm /etc/nginx/conf.d/default.conf
COPY _nginx/nginx.conf /etc/nginx/conf.d
2024-01-09 17:28:15 +00:00