Download Dockerfile from devilent2/oapix: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/spaces/devilent2/oapix/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/devilent2/oapix/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/devilent2/oapix/resolve/main/Dockerfile
317 Bytes
| FROM node:20-slim | |
| WORKDIR /app | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends ffmpeg \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY package.json package-lock.json ./ | |
| RUN npm ci --omit=dev | |
| COPY public ./public | |
| COPY src ./src | |
| ENV NODE_ENV=production | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["npm", "start"] | |