Skip to content

Commit

Permalink
Update pip requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
devkingsejong committed Jul 14, 2024
1 parent 6724a9d commit 2f6ac70
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
FROM ubuntu:18.04
MAINTAINER devkingsejong <devkingsejong@gmail.com>

ARG VERSION

RUN apt update
RUN apt -y install software-properties-common
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
Expand Down
9 changes: 5 additions & 4 deletions ngspicejson/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
fire==0.4.0
Flask==1.1.2
Flask-RESTful==0.3.8
uWSGI==2.0.19.1
fire==0.6.0
Flask==1.1.4
Flask-RESTful==0.3.10
uWSGI==2.0.26
MarkupSafe==2.0.1
3 changes: 2 additions & 1 deletion uwsgi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ vacuum = true
daemonize = uwsgi.log
die-on-term = true
http-keepalive = true
processes = 5
processes = 5
threads = 10

0 comments on commit 2f6ac70

Please sign in to comment.