Skip to content

Commit

Permalink
Updated dockerfile-prod to match the new angular 17 version and node 18.
Browse files Browse the repository at this point in the history
  • Loading branch information
August Andersen committed Nov 6, 2024
1 parent 79fe9f6 commit 07a8048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile-prod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Based on https://mherman.org/blog/dockerizing-an-angular-app/
# base image
FROM node:14-alpine as builder
FROM node:18-alpine as builder

# removed this for now
# install chrome for protractor tests
Expand All @@ -17,7 +17,7 @@ ENV PATH /app/node_modules/.bin:$PATH
# install and cache app dependencies
COPY package.json /app/package.json
RUN npm install
RUN npm install -g @angular/cli@14.2.3
RUN npm install -g @angular/cli@17.3.8

# add app
COPY . /app
Expand Down

0 comments on commit 07a8048

Please sign in to comment.