Skip to content

Commit

Permalink
πŸ›
Browse files Browse the repository at this point in the history
  • Loading branch information
KingCh1ll committed Feb 3, 2024
1 parent b2b3aec commit 7c83adc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM node:18-alpine AS build
FROM node:20-alpine AS build
RUN apk add --no-cache libc6-compat

# Install
WORKDIR /app
COPY . .
COPY package.json ./
RUN npm install --force
RUN npm install yarn
RUN yarn install --check-files
RUN npm run build

# Build
FROM node:18-alpine
FROM node:20-alpine
RUN apk update && apk upgrade && apk add dumb-init && adduser -D nextuser

WORKDIR /app
Expand Down

0 comments on commit 7c83adc

Please sign in to comment.