inference-widgets / Dockerfile
coyotte508's picture
coyotte508 HF staff
πŸ’š Use adapter-node
9c0be59
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"]