Skip to content

Commit

Permalink
fix: Upgrade dependencies (#745)
Browse files Browse the repository at this point in the history
Closes #744
  • Loading branch information
dansvend committed May 30, 2024
1 parent 9625cb9 commit f67563a
Show file tree
Hide file tree
Showing 2 changed files with 398 additions and 388 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Install dependencies only when needed
FROM node:18.19.1-alpine3.18 AS deps
FROM node:20.14.0-alpine3.19 AS deps
WORKDIR /opt/app
COPY package.json yarn.lock ./
COPY scripts scripts
COPY patches ./patches
ENV NODE_ENV=production
RUN yarn install --frozen-lockfile

FROM node:18.19.1-alpine3.18 AS builder
FROM node:20.14.0-alpine3.19 AS builder
ENV NODE_ENV=production
WORKDIR /opt/app
COPY . .
Expand All @@ -17,7 +17,7 @@ ENV NEXT_TELEMETRY_DISABLED=1
RUN yarn build

# Production image, copy all the files and run next
FROM node:18.19.1-alpine3.18 AS runner
FROM node:20.14.0-alpine3.19 AS runner
RUN addgroup -S -g 1001 radix-non-root-group
RUN adduser -S -u 1001 -G radix-non-root-group radix-non-root-user
USER 1001
Expand Down
Loading

0 comments on commit f67563a

Please sign in to comment.