Per-Arne Andersen
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
1 deletions
-
Dockerfile
|
|
@ -2,7 +2,10 @@ FROM node:14-alpine |
|
|
|
|
|
|
|
COPY ./wg_dashboard_frontend /tmp/build |
|
|
|
WORKDIR /tmp/build |
|
|
|
RUN npm install && npm install -g @angular/cli |
|
|
|
RUN apk add --no-cache build-base python3-dev && \ |
|
|
|
npm install && npm install -g @angular/cli && \ |
|
|
|
rm -rf node_modules \ |
|
|
|
apk del build-base python3-dev |
|
|
|
RUN ng build --configuration="production" |
|
|
|
|
|
|
|
|
|
|
|