Spaces:
Paused
Paused
Download Dockerfile from TwanAPI/API: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/TwanAPI/API/resolve/e43aae18adaf4b44ef40338ae8ff8a8433a24175/Dockerfile
- Command line
-
hf download hf://spaces/TwanAPI/API@e43aae18adaf4b44ef40338ae8ff8a8433a24175/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/TwanAPI/API/resolve/e43aae18adaf4b44ef40338ae8ff8a8433a24175/Dockerfile
408 Bytes
| FROM node:22 | |
| USER root | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| build-essential \ | |
| python3 \ | |
| pkg-config \ | |
| libssl-dev \ | |
| libcairo2-dev \ | |
| libpango1.0-dev \ | |
| libjpeg-dev \ | |
| libgif-dev \ | |
| librsvg2-dev \ | |
| libsqlite3-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| USER node | |
| WORKDIR /home/node/app | |
| COPY start.sh /start.sh | |
| RUN chmod +x /start.sh | |
| EXPOSE 8000 | |
| CMD ["/start.sh"] |