From 2f6ac70760d5c63f7a66f8fd6df954bd8924ea5b Mon Sep 17 00:00:00 2001 From: devkingsejong Date: Sun, 14 Jul 2024 15:11:56 +0900 Subject: [PATCH] Update pip requirements --- Dockerfile | 7 ++----- ngspicejson/requirements.txt | 9 +++++---- uwsgi.ini | 3 ++- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b107ae..8f165be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,4 @@ FROM ubuntu:18.04 -MAINTAINER devkingsejong - -ARG VERSION RUN apt update RUN apt -y install software-properties-common @@ -9,12 +6,12 @@ RUN add-apt-repository ppa:deadsnakes/ppa RUN apt -y install python3.8 RUN apt -y install python3.8-dev -RUN apt -y install git RUN apt -y install ngspice -RUN git clone -b $VERSION https://github.com/devkingsejong/ngspice-json-cli +COPY . /ngspice-json-cli WORKDIR /ngspice-json-cli RUN apt -y install python3-pip +RUN python3.8 -m pip install --upgrade pip setuptools RUN python3.8 -m pip install -r ngspicejson/requirements.txt CMD sh run_server.sh & tail -f /dev/null diff --git a/ngspicejson/requirements.txt b/ngspicejson/requirements.txt index 6aa2bce..7abe68d 100644 --- a/ngspicejson/requirements.txt +++ b/ngspicejson/requirements.txt @@ -1,4 +1,5 @@ -fire==0.4.0 -Flask==1.1.2 -Flask-RESTful==0.3.8 -uWSGI==2.0.19.1 \ No newline at end of file +fire==0.6.0 +Flask==1.1.4 +Flask-RESTful==0.3.10 +uWSGI==2.0.26 +MarkupSafe==2.0.1 \ No newline at end of file diff --git a/uwsgi.ini b/uwsgi.ini index 28cc0b9..d70b080 100644 --- a/uwsgi.ini +++ b/uwsgi.ini @@ -7,4 +7,5 @@ vacuum = true daemonize = uwsgi.log die-on-term = true http-keepalive = true -processes = 5 \ No newline at end of file +processes = 5 +threads = 10 \ No newline at end of file