Skip to content

Commit

Permalink
🔀 Merge pull request #7 from cnr-ibba/devel
Browse files Browse the repository at this point in the history
⬆️ update dependencies
  • Loading branch information
bunop authored Jan 22, 2024
2 parents 2941480 + 90d6f17 commit fc169b5
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 49 deletions.
8 changes: 4 additions & 4 deletions Services/TensorFlow-Jupyterlab/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#
# VERSION 0.1
# DOCKER-VERSION 20.10.23
# VERSION 0.2
# DOCKER-VERSION 25.0.0
# AUTHOR: Paolo Cozzi <[email protected]>
# DESCRIPTION: Jupyterlab with tensorflow and GPU support
# TO_BUILD: docker build --rm -t bunop/tensorflow-jupyterlab:latest .
# TO_RUN: docker run --gpus all -it --rm -u $(id -u):$(id -g) -v $(realpath $PWD):/tf/notebooks -p 8888:8888 bunop/tensorflow-jupyterlab:latest
# TO_TAG: docker tag bunop/tensorflow-jupyterlab:latest bunop/tensorflow-jupyterlab:0.1
# TO_TAG: docker tag bunop/tensorflow-jupyterlab:latest bunop/tensorflow-jupyterlab:0.2
#

# base image
FROM tensorflow/tensorflow:2.11.0-gpu-jupyter
FROM tensorflow/tensorflow:2.15.0.post1-jupyter

# MAINTAINER is deprecated. Use LABEL instead
LABEL maintainer="[email protected]"
Expand Down
6 changes: 3 additions & 3 deletions Services/TensorFlow-Jupyterlab/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
jupyterlab==3.5.3
scikit-learn==1.2.1
seaborn==0.12.2
jupyterlab==3.6.7
scikit-learn==1.4.0
seaborn==0.13.1
84 changes: 49 additions & 35 deletions compose/django/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions compose/django/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"
django = "4.1.6"
django = "4.1.13"
mysqlclient = "^2.1.1"
python-decouple = "^3.7"
uwsgi = "^2.0.21"
uwsgi = "^2.0.22"

[build-system]
requires = ["poetry-core"]
Expand Down
10 changes: 5 additions & 5 deletions compose/django/uwsgi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

#
# VERSION 0.7
# DOCKER-VERSION 23.0.0
# VERSION 0.8
# DOCKER-VERSION 25.0.0
# AUTHOR: Paolo Cozzi <[email protected]>
# DESCRIPTION: A django container working on django 4.1 on python 3.11
# TO_BUILD: docker build --rm -t django_uwsgi -f Dockerfile ..
# TO_RUN: docker run -d -P django_uwsgi
# TO_TAG: docker tag django_uwsgi:latest django_uwsgi:0.7
# TO_TAG: docker tag django_uwsgi:latest django_uwsgi:0.8
#

###############################################################################
Expand All @@ -18,7 +18,7 @@
ARG APP_NAME=mysite
ARG APP_PATH=/opt/$APP_NAME
ARG PYTHON_VERSION=3.11
ARG POETRY_VERSION=1.3.2
ARG POETRY_VERSION=1.7.1

FROM python:${PYTHON_VERSION}

Expand All @@ -44,7 +44,7 @@ ENV \
POETRY_NO_INTERACTION=1

# Install Poetry - require $POETRY_VERSION & $POETRY_HOME environment variables
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python
RUN curl -sSL https://install.python-poetry.org | python
ENV PATH="$POETRY_HOME/bin:$PATH"

# CREATE APP_PATH
Expand Down

0 comments on commit fc169b5

Please sign in to comment.