Update dockerfile to node 20 (#601)
parent
91d11b2e06
commit
c51eb83a71
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue