bbuddy-ui/Dockerfile

12 lines
231 B
Docker

#FROM node:bookworm AS build
#RUN node -v
#WORKDIR /app
#COPY . .
FROM nginx
WORKDIR /app
COPY . .
COPY --from=build /app/dist /usr/share/nginx/html/
RUN rm /etc/nginx/conf.d/default.conf
COPY _nginx/nginx.conf /etc/nginx/conf.d