Streamixph05 commited on
Commit
f3600f0
·
verified ·
1 Parent(s): 2012318

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -14
Dockerfile CHANGED
@@ -1,20 +1,11 @@
1
- FROM golang:1.21-alpine # Gumamit ng Go base image
2
 
3
- # I-install ang git
4
- RUN apk add --no-cache git
5
-
6
- # I-set ang working directory
7
  WORKDIR /app
8
 
9
- # I-clone ang repository sa /app
10
- RUN git clone -b python https://github.com/EverythingSuckz/TG-FileStreamBot.git .
11
 
12
- # 1. Mag-download ng dependencies SA LOOB ng WebStreamer folder
13
- RUN go mod download -C ./WebStreamer
14
 
15
- # 2. I-build ang Go application. Ang source package ay nasa WebStreamer/.
16
- # Ang executable na WebStreamer ay ilalagay sa /app.
17
- RUN go build -o WebStreamer ./WebStreamer/
18
 
19
- # 3. Patakbuhin ang na-build na executable (nasa /app)
20
- CMD ["./WebStreamer"]
 
1
+ FROM python:3.9-slim
2
 
 
 
 
 
3
  WORKDIR /app
4
 
5
+ RUN apt-get update && apt-get install -y git
 
6
 
7
+ RUN git clone -b python https://github.com/EverythingSuckz/TG-FileStreamBot.git .
 
8
 
9
+ RUN pip install -r requirements.txt
 
 
10
 
11
+ CMD ["python3", "-m", "WebStreamer"]