Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
# 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"] |