Spaces:
Running
Running
Download Dockerfile from otst/deepstudio: direct link, hf CLI and curl.
- Browser
- Download file 379 Bytes
-
https://huggingface.co/spaces/otst/deepstudio/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/otst/deepstudio/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/otst/deepstudio/resolve/main/Dockerfile
379 Bytes
| FROM node:20-alpine | |
| ENV NODE_ENV=production \ | |
| NEXT_TELEMETRY_DISABLED=1 \ | |
| HOST=0.0.0.0 \ | |
| PORT=7860 | |
| WORKDIR /app | |
| # Copy package.json and install production dependencies | |
| COPY package.json ./ | |
| RUN npm install --only=production | |
| # Copy standalone server and build artifacts | |
| COPY server.js . | |
| COPY .next ./.next | |
| COPY public ./public | |
| EXPOSE 7860 | |
| CMD ["node", "server.js"] |