diff --git a/Dockerfile b/Dockerfile index 2cf65f6..9d9b26a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,11 @@ FROM python:3.8-slim-buster -RUN mkdir /bot -RUN chmod 777 /bot -COPY . /bot -WORKDIR /bot +WORKDIR /usr/src/app +COPY . . +RUN pip install --no-cache-dir -r requirements.txt RUN apt-get update RUN apt-get install -y aria2 -RUN pip install -r /bot/requirements.txt CMD ["bash","start.sh"] \ No newline at end of file