blob: e04e3b920804b725ab990d037aaef1dd40ecfdea [file] [log] [blame]
Adrià Vilanova Martínezf7ee6582021-09-02 21:53:28 +02001FROM node:16-alpine as build-stage
2
3WORKDIR /app
4
5COPY package*.json /app
6
7RUN npm install
8
9COPY ./ /app/
10
11RUN ./node_modules/webpack-cli/bin/cli.js --mode production
12
13FROM nginx:1.21-alpine
14LABEL maintainer "me@avm99963.com"
15
16COPY --from=build-stage /app/dist /usr/share/nginx/html