This repository has been archived on 2022-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
KassouBot/Dockerfile

14 lines
287 B
Text
Raw Permalink Normal View History

2021-03-17 21:36:41 +01:00
FROM python:3.8.6-slim
2021-03-17 20:40:11 +01:00
RUN apt update && \
apt install -y --no-install-recommends ffmpeg git && \
apt autoremove
RUN /usr/local/bin/python -m pip install --upgrade pip
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY src .
CMD [ "python", "-u", "./main.py" ]