Skip to content

Commit

Permalink
upgraded dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alvertogit committed Feb 11, 2024
1 parent b690ff0 commit 2918b6d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN mkdir -p /app
WORKDIR /app
COPY requirements.txt /app
RUN python3 -m venv .
RUN python3 -m pip install pip==23.3.2
RUN python3 -m pip install pip==24.0
RUN python3 -m pip install setuptools==69.0.3
RUN python3 -m pip install --no-cache-dir -r requirements.txt
COPY ./app /app
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The goal is to deploy on [Flask] a [Deep Learning] model as a microservice. The
The code has been tested using:

* [Python] (3.10): an interpreted high-level programming language for general-purpose programming.
* [Jupyter Lab] (4.0): a web-based interactive development environment for [Jupyter Notebooks], code and data.
* [Jupyter Lab] (4.1): a web-based interactive development environment for [Jupyter Notebooks], code and data.
* [Flask] (3.0): a microframework for [Python] based on Werkzeug, Jinja 2 and good intentions.
* [Gunicorn] (21.2): a [Python] [WSGI] HTTP Server for UNIX.
* [NGINX] (1.25): a free, open-source, high-performance HTTP server, reverse proxy, and IMAP/POP3 proxy server.
Expand All @@ -43,7 +43,7 @@ Command to configure virtual environment with [venv]:
```bash
~/deeplearning_flask$ python3 -m venv dlflask3
~/deeplearning_flask$ source dlflask3/bin/activate
(dlflask3)~/deeplearning_flask$ python3 -m pip install pip==23.3.2
(dlflask3)~/deeplearning_flask$ python3 -m pip install pip==24.0
(dlflask3)~/deeplearning_flask$ python3 -m pip install setuptools==69.0.3
(dlflask3)~/deeplearning_flask$ python3 -m pip install -r requirements_dev.txt
```
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Flask==3.0.1
Flask==3.0.2
gunicorn==21.2.0
numpy==1.26.3
numpy==1.26.4
Pillow==10.2.0
pytest==7.4.4
pytest==8.0.0
requests==2.31.0
scikit-image==0.22.0
tensorflow==2.15.0
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-r requirements.txt
jupyterlab==4.0.11
jupyterlab==4.1.0
matplotlib==3.8.2

0 comments on commit 2918b6d

Please sign in to comment.