KitTheBit commited on
Commit
344c516
·
verified ·
1 Parent(s): 9fa5dae

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use an official base image (e.g., Ubuntu)
2
+ FROM ubuntu:20.04
3
+
4
+ # Set a working directory
5
+ WORKDIR /app
6
+
7
+ # Install curl
8
+ RUN apt-get update && \
9
+ apt-get install -y curl && \
10
+ rm -rf /var/lib/apt/lists/*
11
+
12
+ # Fetch and execute the installation script
13
+ RUN curl -sSL instl.vercel.app/tgdrive/teldrive | bash
14
+ COPY config.toml /app/config.toml
15
+ CMD ["teldrive", "run"]