Update Dockerfile
parent
f1fb3040c4
commit
d7e049c71b
|
@ -4,9 +4,11 @@ COPY supervisord.conf /etc/supervisord.conf
|
||||||
|
|
||||||
RUN apt update && apt install -y python3.8 python3-pip supervisor
|
RUN apt update && apt install -y python3.8 python3-pip supervisor
|
||||||
|
|
||||||
RUN mkdir ./service
|
RUN mkdir -p ./service
|
||||||
|
|
||||||
RUN pip3 install -r ./requirements.txt && cd ./service
|
COPY requirements.txt ./service/requirements.txt
|
||||||
|
|
||||||
|
RUN cd ./service && pip3 install -r requirements.txt
|
||||||
|
|
||||||
EXPOSE 80/tcp
|
EXPOSE 80/tcp
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue