# 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 /code | |
COPY . . | |
RUN npm i | |
RUN npm run build | |
ARG PORT=7860 | |
CMD ["npm", "build"] | |
# 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 /code | |
COPY . . | |
RUN npm i | |
RUN npm run build | |
ARG PORT=7860 | |
CMD ["npm", "build"] | |