Docker:Fix read permission in container

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
This commit is contained in:
lzzy12 2019-10-31 16:44:22 +05:30
parent 31f0c8e6b2
commit 374a23298e

View File

@ -1,11 +1,10 @@
FROM python:3.8-slim-buster FROM python:3.8-slim-buster
WORKDIR /usr/src/app WORKDIR /usr/src/app
RUN chmod 777 /usr/src/app
COPY . . COPY . .
RUN pip install --no-cache-dir -r requirements.txt 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
CMD ["bash","start.sh"] CMD ["bash","start.sh"]