Bachelorthesis_Code/frontend/Dockerfile.prod

10 lines
175 B
Text
Raw Normal View History

2021-05-05 01:08:58 +00:00
FROM node:latest as builder
WORKDIR /app
ENV PATH /app/node_modules/.bin:$PATH
COPY package.json ./
COPY package-lock.json ./
2021-07-12 21:09:49 +00:00
RUN npm ci --silent
2021-06-30 00:14:42 +00:00
COPY . ./
2021-05-05 01:08:58 +00:00
RUN npm run build