Update Dockerfile
This commit is contained in:
parent
dc0f1245aa
commit
71fa90d2bc
1 changed files with 3 additions and 5 deletions
|
@ -5,12 +5,10 @@ COPY supervisord.conf /etc/supervisord.conf
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt install -y python3.8 python3-pip supervisor
|
&& apt install -y python3.8 python3-pip supervisor
|
||||||
|
|
||||||
RUN mkdir -p /opt/Drama/service
|
RUN mkdir ./service
|
||||||
|
|
||||||
COPY requirements.txt /opt/Drama/service/requirements.txt
|
RUN pip3 install -r requirements.txt \
|
||||||
|
&& cd ./service
|
||||||
RUN cd /opt/Drama/service \
|
|
||||||
&& pip3 install -r requirements.txt
|
|
||||||
|
|
||||||
EXPOSE 80/tcp
|
EXPOSE 80/tcp
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue