Spaces:
Paused
Paused
Download Dockerfile from Erinaldordso/torn-bot: direct link, hf CLI and curl.
- Browser
- Download file 536 Bytes
-
https://huggingface.co/spaces/Erinaldordso/torn-bot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Erinaldordso/torn-bot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Erinaldordso/torn-bot/resolve/main/Dockerfile
536 Bytes
| FROM python:3.9-slim | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && apt-get install -y wget curl gnupg xvfb --no-install-recommends | |
| RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
| RUN apt-get update && apt-get install -y ./google-chrome-stable_current_amd64.deb -f \ | |
| && rm google-chrome-stable_current_amd64.deb \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir requests pyvirtualdisplay seleniumbase groq | |
| WORKDIR /app | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "main.py"] | |