Spaces:
Runtime error
Runtime error
Download Dockerfile from arpy8/LatexWebsocket: direct link, hf CLI and curl.
- Browser
- Download file 555 Bytes
-
https://huggingface.co/spaces/arpy8/LatexWebsocket/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/arpy8/LatexWebsocket/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/arpy8/LatexWebsocket/resolve/main/Dockerfile
555 Bytes
| FROM node:20-bullseye | |
| # Install TeX Live minimal packages + latexmk | |
| RUN apt-get update && DEBIAN_FRONTEND=noninteractive \ | |
| && apt-get install -y --no-install-recommends \ | |
| perl git curl build-essential \ | |
| texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra \ | |
| fonts-lmodern cm-super \ | |
| latexmk poppler-utils ghostscript \ | |
| && apt-get clean && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY package.json package-lock.json* ./ | |
| RUN npm ci --only=prod | |
| COPY . . | |
| EXPOSE ${PORT} | |
| CMD ["node", "ws-server.js"] |