Skip to content

Commit

Permalink
Update dockerfile to node 20 (huggingface#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarrazin authored Nov 30, 2023
1 parent 91d11b2 commit c51eb83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

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

Expand Down

0 comments on commit c51eb83

Please sign in to comment.