huggi / Dockerfile
julien-c's picture
julien-c HF staff
Final try ?
bbc4435 verified
raw
history blame
265 Bytes
# 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
WORKDIR /app
COPY . .
RUN npm i
RUN chown -R 1000:1000 /app
RUN npm run build
CMD ["PORT=7860", "node", "build"]