birbcontrol/Dockerfile
Torma Kristóf ed9b4efc19
Some checks failed
continuous-integration/drone/push Build is failing
update browser db
2022-01-31 23:37:04 +01:00

9 lines
242 B
Docker

FROM node:latest AS build
ADD . /app
WORKDIR /app
RUN npx browserslist@latest --update-db
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