Skip to content

Commit

Permalink
Update node image to 18.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Shraymonks committed Sep 17, 2023
1 parent 2a4fc0e commit 121df78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/dull-pets-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'unmonitorr': patch
---

Update node image to 18.17.1
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.16.1-alpine AS build
FROM node:18.17.1-alpine AS build
RUN npm install -g pnpm
USER node
WORKDIR /usr/src/app/
Expand All @@ -8,15 +8,15 @@ RUN pnpm install
COPY --chown=node:node src/ src/
RUN pnpm build

FROM node:18.16.1-alpine AS deps
FROM node:18.17.1-alpine AS deps
ENV NODE_ENV=production
RUN npm install -g pnpm
USER node
WORKDIR /usr/src/app/
COPY --chown=node:node package.json pnpm-lock.yaml .
RUN pnpm install --ignore-scripts

FROM node:18.16.1-alpine
FROM node:18.17.1-alpine
ENV NODE_ENV=production
ENV PORT=9797
RUN apk add --update dumb-init
Expand Down

0 comments on commit 121df78

Please sign in to comment.