bbuddy-ui/Dockerfile

11 lines
201 B
Docker

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