mirror-leech-telegram-bot/Dockerfile
anasty17 f97076bf49
Use venv instead of breaking system packges
Signed-off-by: anasty17 <e.anastayyar@gmail.com>
2024-11-14 11:56:46 +02:00

14 lines
228 B
Docker

FROM anasty17/mltb:latest
WORKDIR /usr/src/app
RUN chmod 777 /usr/src/app
RUN python3 -m venv mltbenv
COPY requirements.txt .
RUN mltbenv/bin/pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["bash", "start.sh"]