agola-web/Dockerfile
Simone Gotti 5086f0a4ec Dockerfile: use fixed node image version
Fix it to node 12 until we migrate to new versions of tailwind, vue
etc...
2022-02-24 08:54:03 +01:00

16 lines
253 B
Docker

FROM node:12-alpine AS web_build
WORKDIR /agola-web
# copy both 'package.json' and 'package-lock.json' (if available)
COPY package*.json ./
# install project dependencies
RUN npm install
# Copy all the source
COPY . .
# Build app
RUN npm run build