From 306e1df746c43836c7e44d7ea95edcf900ca10b6 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 4 Apr 2023 09:25:13 +0800 Subject: [PATCH] Update Dockerfile --- appmanage/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appmanage/Dockerfile b/appmanage/Dockerfile index 2e22d736..c8e09cb0 100644 --- a/appmanage/Dockerfile +++ b/appmanage/Dockerfile @@ -8,6 +8,7 @@ WORKDIR /usr/src/app COPY api ./api COPY static ./static COPY requirements.txt main.py ./ +RUN apt update RUN pip install -r requirements.txt RUN mkdir /data @@ -17,3 +18,6 @@ CMD ["uvicorn", "main:get_app", "--host", "0.0.0.0", "--port", "5000", "--log-le # Expose the port in which the application will be deployed EXPOSE 5000 +# install supervisord +RUN apt install -y supervisor +