Browse Source

Update Dockerfile

pull/49/head
Per-Arne Andersen 4 years ago
committed by GitHub
parent
commit
2e5091a020
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Dockerfile

2
Dockerfile

@ -3,7 +3,7 @@ FROM node:14-alpine
COPY ./wg_dashboard_frontend /tmp/build
WORKDIR /tmp/build
RUN apk add --no-cache build-base python3-dev && \
npm install && npm install -g @angular/cli && \
npm cache clean --force && npm install && npm install -g @angular/cli && \
ng build --configuration="production" && \
rm -rf node_modules && \
apk del build-base python3-dev

Loading…
Cancel
Save