birbcontrol/Dockerfile

9 lines
239 B
Docker
Raw Permalink Normal View History

2022-01-31 23:56:16 +01:00
FROM node:lts AS build
2021-06-12 22:53:02 +02:00
ADD . /app
WORKDIR /app
2022-01-31 23:37:04 +01:00
RUN npx browserslist@latest --update-db
2021-06-12 22:53:02 +02:00
RUN npm install && npm run build
FROM nginx:stable
COPY --from=build /app/dist /usr/share/nginx/html
ADD nginx-site.conf /etc/nginx/conf.d/default.conf