inference-widgets / Dockerfile
Xenova's picture
Xenova HF staff
Update Dockerfile
0cc6b90 verified
raw
history blame
353 Bytes
# 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"]