Update dockerfile to node 20 (#601)

pull/606/head
Nathan Sarrazin 2023-11-30 15:44:41 +01:00 committed by GitHub
parent 91d11b2e06
commit c51eb83a71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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