File size: 648 Bytes
e28e2aa
b49e28f
e28e2aa
 
 
 
 
745eb9b
4d5c135
e92cd7f
 
 
e28e2aa
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.12
WORKDIR /app
RUN apt-get -qq update && apt-get -qq install -y git wget ffmpeg mediainfo \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/*
RUN curl -sL https://deb.nodesource.com/setup_22.x | bash -
RUN apt-get install -y nodejs
RUN git clone https://github.com/mustafanqnq-cmd/Sarmadi-Deploy-Web.git .
RUN pip install --no-cache-dir flask requests aiohttp gitpython heroku3
RUN git clone https://github.com/mustafanqnq-cmd/Tython.git /tmp/tython_req && \
    pip install --no-cache-dir -r /tmp/tython_req/requirements.txt && \
    rm -rf /tmp/tython_req
ENV PATH=/app:$PATH
EXPOSE 8080
CMD bash -c "python3 app.py & bash ba.sh"