Spaces:
Sleeping
Sleeping
Download Dockerfile from jtomas/interprete: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/spaces/jtomas/interprete/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jtomas/interprete/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jtomas/interprete/resolve/main/Dockerfile
420 Bytes
| FROM node:22-slim | |
| ARG APP_REPO=https://github.com/jesus-tomas-girones/interprete.git | |
| ARG APP_REF=main | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends git ca-certificates \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| RUN git clone --depth 1 --branch ${APP_REF} ${APP_REPO} . | |
| RUN npm install --omit=dev | |
| ENV HOST=0.0.0.0 | |
| ENV PORT=7860 | |
| ENV NODE_ENV=production | |
| EXPOSE 7860 | |
| CMD ["npm", "start"] | |