# 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 | |
RUN ls -a | |
WORKDIR /app | |
COPY . . | |
RUN ls -a | |
RUN npm i | |
RUN npm run build | |
RUN ls -a | |
ENV PORT=7860 | |
CMD ["node", "build"] |