Download Dockerfile from ilhamap/tele_bot: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/spaces/ilhamap/tele_bot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ilhamap/tele_bot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ilhamap/tele_bot/resolve/main/Dockerfile
297 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt ./requirements.txt | |
| RUN apt-get update \ | |
| && apt-get -y install libpq-dev gcc \ | |
| && apt-get -y install ffmpeg \ | |
| && pip install psycopg2 | |
| # Install dependencies | |
| RUN pip install -r requirements.txt | |
| COPY . /app | |
| CMD ["python", "main.py"] |