Spaces:
Build error
Build error
Download Dockerfile from Bluestrikeai/fullstack-websitebuilder: direct link, hf CLI and curl.
- Browser
- Download file 389 Bytes
-
https://huggingface.co/spaces/Bluestrikeai/fullstack-websitebuilder/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Bluestrikeai/fullstack-websitebuilder/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Bluestrikeai/fullstack-websitebuilder/resolve/main/Dockerfile
389 Bytes
| FROM node:20-bookworm-slim AS build | |
| WORKDIR /app | |
| COPY package.json ./ | |
| COPY apps/server/package.json apps/server/package.json | |
| COPY apps/web/package.json apps/web/package.json | |
| RUN npm install | |
| COPY . . | |
| RUN npm run build | |
| FROM node:20-bookworm-slim | |
| WORKDIR /app | |
| ENV NODE_ENV=production | |
| ENV PORT=7860 | |
| COPY --from=build /app /app | |
| EXPOSE 7860 | |
| CMD ["npm", "run", "start", "-w", "apps/server"] |