Improved Dockerfile

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
This commit is contained in:
lzzy12 2019-10-31 11:46:50 +05:30
parent c754d228e4
commit 31f0c8e6b2

View File

@ -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"]