suphe3 / Dockerfile
suphe's picture
Update Dockerfile
e92cd7f verified
Raw
History Blame Contribute Delete
648 Bytes
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"