Skip to content

Commit

Permalink
fix: update base node image for flakybot to node:18-slim (#5289)
Browse files Browse the repository at this point in the history
Fixes #5290 🦕
  • Loading branch information
ohmayr authored Feb 16, 2024
1 parent 4cda3d1 commit 15ba411
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/flakybot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Use the official lightweight Node.js 14 image.
# https://hub.docker.com/_/node
FROM node:14-slim AS BUILD
FROM node:18-slim AS BUILD

# Create and change to the app directory.
WORKDIR /usr/src/app
Expand All @@ -34,7 +34,7 @@ COPY . ./

RUN npm run compile

FROM node:14-slim
FROM node:18-slim

# Create and change to the app directory.
WORKDIR /usr/src/app
Expand All @@ -45,5 +45,6 @@ RUN npm ci --only=production

ENV NODE_ENV "production"


# Run the web service on container startup.
CMD [ "npm", "--no-update-notifier", "run", "start" ]

0 comments on commit 15ba411

Please sign in to comment.