Spaces:
Sleeping
Sleeping
Download Dockerfile from forgeflow-ai/forgeflow-studio: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/spaces/forgeflow-ai/forgeflow-studio/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/forgeflow-ai/forgeflow-studio/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/forgeflow-ai/forgeflow-studio/resolve/main/Dockerfile
286 Bytes
| FROM node:18-slim | |
| WORKDIR /app | |
| # 1) deps (deterministic) | |
| COPY package.json package-lock.json ./ | |
| RUN npm ci | |
| # 2) app | |
| COPY . . | |
| # 3) build (Next production) | |
| RUN npm run build | |
| ENV NODE_ENV=production | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["npm","run","start","--","-p","7860","-H","0.0.0.0"] | |