Bachelorthesis_Code/frontend/Dockerfile.prod
cami 97b7bc3212
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Removed nginx to test if it works without
2021-07-12 23:47:39 +02:00

9 lines
175 B
Text

FROM node:latest as builder
WORKDIR /app
ENV PATH /app/node_modules/.bin:$PATH
COPY package.json ./
COPY package-lock.json ./
RUN npm ci --silent
COPY . ./
RUN npm run build