Spaces:
Build error
Build error
Download Dockerfile from santiagr7776/anycoder-2ae81253: direct link, hf CLI and curl.
- Browser
- Download file 233 Bytes
-
https://huggingface.co/spaces/santiagr7776/anycoder-2ae81253/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/santiagr7776/anycoder-2ae81253/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/santiagr7776/anycoder-2ae81253/resolve/main/Dockerfile
233 Bytes
| FROM node:18-alpine AS base | |
| WORKDIR /app | |
| RUN apk add --no-cache libc6-compat | |
| COPY package.json package-lock.json* ./ | |
| RUN npm ci | |
| COPY . . | |
| RUN npm run build | |
| EXPOSE 3000 | |
| ENV PORT=3000 | |
| ENV HOSTNAME="0.0.0.0" | |
| CMD ["npm", "start"] |