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