Update Dockerfile

This commit is contained in:
Aevann1 2021-08-03 15:07:58 +02:00 committed by GitHub
parent abf1ef9f1d
commit 7ae632ed68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,9 +4,11 @@ COPY supervisord.conf /etc/supervisord.conf
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