File size: 353 Bytes
b2ecf7d
 
 
 
 
 
 
 
 
 
 
9c0be59
8959252
0cc6b90
9c0be59
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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:20

WORKDIR /app

RUN corepack enable

COPY --link --chown=1000 . .

RUN pnpm install 

RUN pnpm --filter widgets build

WORKDIR /app/packages/widgets

CMD ["node", "build/index.js"]