Sign inSign up

josephharrisonlim/angular-alpine

By josephharrisonlim

•Updated over 8 years ago

Alpine image with Angular-CLI, plus build optimizer and rxjs-compat.

Image
1

127

josephharrisonlim/angular-alpine repository overview

⁠Example Dockerfile

FROM josephharrisonlim/angular-alpine:latest AS builder WORKDIR /app COPY . . RUN ng build --prod --build-optimizer

FROM nginx:alpine MAINTAINER Your Name RUN rm -rf /usr/share/nginx/html/* WORKDIR /usr/share/nginx/html COPY --from=build /app/dist/project-name . EXPOSE 80 ENTRYPOINT ["nginx", "-g", "daemon off;"]

⁠Version Info
Angular CLI: 6.0.3
Node: 9.11.1
Package                         Version
------------------------------------------------------
@angular-devkit/architect       0.6.3
@angular-devkit/build-angular   0.6.3
@angular-devkit/build-optimizer 0.6.3
@angular-devkit/core            0.6.3
@angular-devkit/schematics      0.6.3
@schematics/angular             0.6.3
@schematics/update              0.6.3

rxjs                            6.1.0
typescript                      2.7.2

Tag summary

Content type

Image

Digest

Size

50.3 MB

Last updated

over 8 years ago

docker pull josephharrisonlim/angular-alpine