Update Dockerfile
This commit is contained in:
parent
abf1ef9f1d
commit
7ae632ed68
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue