Download Dockerfile from aseli/quote-api: direct link, hf CLI and curl.
- Browser
- Download file 300 Bytes
-
https://huggingface.co/spaces/aseli/quote-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/aseli/quote-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/aseli/quote-api/resolve/main/Dockerfile
300 Bytes
| FROM node:latest | |
| RUN apt-get update && apt-get install -y build-essential gcc wget git libvips build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY package.json . | |
| RUN npm i | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["npm", "start"] |