8 Commits

Author SHA1 Message Date
Iain Sproat 30101a8d09 chore(deps): use bullseye debian release (current stable) (#10) 2023-03-29 16:17:50 +01:00
Iain Sproat 300319a495 chore(deps): bump tensorflow to 2.12.0 and others (#9) 2023-03-27 17:20:36 +01:00
Iain Sproat f08afa56f0 Merge pull request #8 from specklesystems/snyk-fix-fc5280bc76b2bf90ee3e15c486cd657c
[Snyk] Security upgrade tensorflow/tensorflow from 2.12.0rc0-jupyter to 2.12.0rc1-jupyter
2023-03-13 10:32:39 +00:00
snyk-bot c0eab4bdfe fix: server/Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-UBUNTU2004-CURL-3321691
- https://snyk.io/vuln/SNYK-UBUNTU2004-PYTHON38-3325862
- https://snyk.io/vuln/SNYK-UBUNTU2004-PYTHON38-3325862
- https://snyk.io/vuln/SNYK-UBUNTU2004-PYTHON38-3325862
- https://snyk.io/vuln/SNYK-UBUNTU2004-TAR-3261137
2023-03-13 10:29:29 +00:00
Iain Sproat cd4dd989bd Merge pull request #7 from specklesystems/iain/img2pc-bump-keras-2.12.0rc0
fix(deps): bumps keras 2.12.0rc0
2023-02-19 21:05:38 +00:00
Iain Sproat a8281c22dd fix(deps): bumps keras 2.12.0rc0 2023-02-19 21:01:59 +00:00
Iain Sproat d528f8507f Merge pull request #6 from specklesystems/snyk-fix-ae563fc63d5b82ad327df5f0359ddf20
[Snyk] Security upgrade tensorflow/tensorflow from 2.11.0-jupyter to 2.12.0rc0-jupyter
2023-02-19 20:32:25 +00:00
snyk-bot 3c23f2d1fe fix: server/Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-UBUNTU2004-GIT-3319859
- https://snyk.io/vuln/SNYK-UBUNTU2004-OPENSSL-3314692
- https://snyk.io/vuln/SNYK-UBUNTU2004-OPENSSL-3314703
- https://snyk.io/vuln/SNYK-UBUNTU2004-OPENSSL-3314740
- https://snyk.io/vuln/SNYK-UBUNTU2004-OPENSSL-3314788
2023-02-19 20:29:46 +00:00
+5 -5
View File
@@ -1,17 +1,17 @@
FROM python:3.9.16-buster AS model-download
FROM python:3.9.16-bullseye AS model-download
RUN pip3 install gdown
RUN gdown https://drive.google.com/uc?id=19dfvGvDfCRYaqxVKypp1fRHwK7XtSjVu
FROM tensorflow/tensorflow:2.11.0-jupyter
FROM tensorflow/tensorflow:2.12.0-jupyter
RUN pip3 install keras==2.11.0
RUN pip3 install keras==2.12.0
RUN pip3 install scikit-learn==1.2.0 scikit-image==0.19.3
RUN pip3 install scikit-learn==1.2.2 scikit-image==0.20.0
RUN pip3 uninstall -y enum34
RUN pip3 install specklepy==2.9.1 cherrypy==18.8.0
RUN pip3 install specklepy==2.13.0 cherrypy==18.8.0
RUN pip3 install cherrypy-cors==1.6
COPY --from=model-download nyu.h5 /app/nyu.h5