| # Use an official base image (e.g., Ubuntu) | |
| FROM ubuntu:20.04 | |
| # Set a working directory | |
| WORKDIR /app | |
| # Install curl | |
| RUN apt-get update && \ | |
| apt-get install -y curl && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Fetch and execute the installation script | |
| RUN curl -sSL instl.vercel.app/tgdrive/teldrive | bash | |
| COPY config.toml /app/config.toml | |
| CMD ["teldrive", "run"] |