Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
fix: update docker file to node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
TimotheeMalard committed Mar 14, 2024
1 parent cc80271 commit a5c9aa7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Install dependencies only when needed
FROM node:16-alpine AS deps
FROM node:18-alpine AS deps
WORKDIR /app
ARG PRODUCTION

Expand All @@ -8,7 +8,7 @@ RUN apk add --no-cache libc6-compat
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile

FROM node:16-alpine as builder
FROM node:18-alpine as builder
WORKDIR /app
ARG PRODUCTION

Expand All @@ -17,7 +17,7 @@ COPY . .

RUN yarn build

FROM node:16-alpine as runner
FROM node:18-alpine as runner
WORKDIR /app
ENV NODE_ENV production
ARG PRODUCTION
Expand Down

0 comments on commit a5c9aa7

Please sign in to comment.