Download Dockerfile from ilhamdev/quote-api: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/spaces/ilhamdev/quote-api/resolve/c015809ffcd5b76d9017fd65a4e39e62752b31bd/Dockerfile
- Command line
-
hf download hf://spaces/ilhamdev/quote-api@c015809ffcd5b76d9017fd65a4e39e62752b31bd/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ilhamdev/quote-api/resolve/c015809ffcd5b76d9017fd65a4e39e62752b31bd/Dockerfile
411 Bytes
| FROM oven/bun:canary | |
| WORKDIR /app | |
| RUN apk add --no-cache font-noto font-noto-cjk font-noto-extra gcompat libstdc++ libuuid vips-dev build-base jpeg-dev pango-dev cairo-dev imagemagick libssl1.1 | |
| RUN ln -s /lib/libresolv.so.2 /usr/lib/libresolv.so.2 || true | |
| COPY package.json bun.lock* ./ | |
| RUN bun install --frozen-lockfile --production | |
| COPY . . | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["bun", "start"] |