Adrià Vilanova Martínez | f7ee658 | 2021-09-02 21:53:28 +0200 | [diff] [blame] | 1 | FROM node:16-alpine as build-stage |
| 2 | |
| 3 | WORKDIR /app |
| 4 | |
| 5 | COPY package*.json /app |
| 6 | |
| 7 | RUN npm install |
| 8 | |
| 9 | COPY ./ /app/ |
| 10 | |
| 11 | RUN ./node_modules/webpack-cli/bin/cli.js --mode production |
| 12 | |
Renovate bot | 7273235 | 2023-12-30 00:06:25 +0000 | [diff] [blame] | 13 | FROM nginx:1.21-alpine@sha256:a74534e76ee1121d418fa7394ca930eb67440deda413848bc67c68138535b989 |
Adrià Vilanova Martínez | f7ee658 | 2021-09-02 21:53:28 +0200 | [diff] [blame] | 14 | LABEL maintainer "me@avm99963.com" |
| 15 | |
| 16 | COPY --from=build-stage /app/dist /usr/share/nginx/html |