From c51eb83a71cfb23b3c98432f071e4bd04a7098fd Mon Sep 17 00:00:00 2001 From: Nathan Sarrazin Date: Thu, 30 Nov 2023 15:44:41 +0100 Subject: [PATCH] Update dockerfile to node 20 (#601) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e0d43e3d..a88846db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 # read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker # you will also find guides on how best to write your Dockerfile -FROM node:19 as builder-production +FROM node:20 as builder-production WORKDIR /app @@ -21,7 +21,7 @@ COPY --link --chown=1000 . . RUN --mount=type=secret,id=DOTENV_LOCAL,dst=.env.local \ npm run build -FROM node:19-slim +FROM node:20-slim RUN npm install -g pm2