Per-Arne Andersen
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
Dockerfile
|
|
@ -4,10 +4,9 @@ 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 && \ |
|
|
|
ng build --configuration="production" && \ |
|
|
|
rm -rf node_modules && \ |
|
|
|
apk del build-base python3-dev |
|
|
|
RUN ng build --configuration="production" |
|
|
|
|
|
|
|
|
|
|
|
FROM alpine:3.12 |
|
|
|
MAINTAINER per@sysx.no |
|
|
|