Skip to content

Commit

Permalink
Merge pull request #145 from GSA/feature/upgrade_node20
Browse files Browse the repository at this point in the history
Upgrade to Node 20 (ticket 109)
  • Loading branch information
BuckinghamAJ authored Oct 17, 2024
2 parents fb81279 + 78010c0 commit b4db57a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Stage 1: Compile and Build angular codebase

# base image
FROM node:16-alpine as builder
FROM node:20-alpine as builder

# install chrome for protractor tests
# RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
Expand All @@ -17,7 +17,6 @@ WORKDIR /app
# install app dependencies
COPY package.json ./
COPY .snyk ./
COPY yarn.lock ./

RUN yarn install

Expand All @@ -30,7 +29,7 @@ RUN yarn run build-${environment}
# Stage 2: Serve app with nginx server

# Use official nginx image as the base image
FROM nginx:1.25.3-alpine3.18
FROM nginx:1.27.2-alpine

# Set working directory to nginx asset directory
WORKDIR /usr/share/nginx/html
Expand Down

0 comments on commit b4db57a

Please sign in to comment.