agola-web/Dockerfile
2018-12-09 14:21:20 +01:00

16 lines
254 B
Docker

FROM node:lts-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