Improved Dockerfile
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
This commit is contained in:
parent
c754d228e4
commit
31f0c8e6b2
|
|
@ -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"]
|
||||
Loading…
Reference in New Issue