Spaces:
Runtime error
Runtime error
Download Dockerfile from sujoydev99/DwightAI: direct link, hf CLI and curl.
- Browser
- Download file 289 Bytes
-
https://huggingface.co/spaces/sujoydev99/DwightAI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sujoydev99/DwightAI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sujoydev99/DwightAI/resolve/main/Dockerfile
289 Bytes
| FROM node:18-alpine as builder | |
| RUN apk update --no-cache && apk add --no-cache git openssh bash alpine-sdk | |
| WORKDIR /code | |
| COPY package.json yarn.lock ./ | |
| RUN yarn install --mode=skip-build | |
| COPY . . | |
| FROM node:18-alpine | |
| WORKDIR /code | |
| COPY --from=builder /code . | |
| CMD ["node" ,"/code/index.js"] |