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
|
FROM python:3.8-slim-buster
|
||||||
|
|
||||||
RUN mkdir /bot
|
WORKDIR /usr/src/app
|
||||||
RUN chmod 777 /bot
|
COPY . .
|
||||||
COPY . /bot
|
|
||||||
WORKDIR /bot
|
|
||||||
|
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y aria2
|
RUN apt-get install -y aria2
|
||||||
RUN pip install -r /bot/requirements.txt
|
|
||||||
|
|
||||||
|
|
||||||
CMD ["bash","start.sh"]
|
CMD ["bash","start.sh"]
|
||||||
Loading…
Reference in New Issue