github-actions[bot] commited on
Commit
910f57f
·
1 Parent(s): d1b92b9

Deploy hyper3labs/HyperView from Hyper3Labs/hyperview-spaces@a017e5c

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -21,11 +21,12 @@ WORKDIR $HOME/app
21
 
22
  RUN pip install --upgrade pip
23
 
24
- # Install latest releases from PyPI (split for better build caching & logging).
25
- # For reproducible builds, pin versions here:
26
- # RUN pip install hyperview==0.1.1 hyper-models==0.1.0
27
- RUN pip install hyperview && python -c "import hyperview; print('hyperview', hyperview.__version__)"
28
- RUN pip install hyper-models && python -c "import hyper_models; print('hyper_models', hyper_models.__version__)"
 
29
 
30
  COPY --chown=user demo.py ./demo.py
31
 
 
21
 
22
  RUN pip install --upgrade pip
23
 
24
+ ARG HYPERVIEW_VERSION=0.2.0
25
+ ARG HYPER_MODELS_VERSION=0.1.0
26
+
27
+ # Pin package versions so Docker cache cannot silently hold an older PyPI release.
28
+ RUN pip install "hyperview==${HYPERVIEW_VERSION}" && python -c "import hyperview; print('hyperview', hyperview.__version__)"
29
+ RUN pip install "hyper-models==${HYPER_MODELS_VERSION}" && python -c "import hyper_models; print('hyper_models', hyper_models.__version__)"
30
 
31
  COPY --chown=user demo.py ./demo.py
32