File size: 364 Bytes
344c516
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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"]