Spaces:
Running
Running
github-actions[bot] commited on
Commit ·
910f57f
1
Parent(s): d1b92b9
Deploy hyper3labs/HyperView from Hyper3Labs/hyperview-spaces@a017e5c
Browse files- Dockerfile +6 -5
Dockerfile
CHANGED
|
@@ -21,11 +21,12 @@ WORKDIR $HOME/app
|
|
| 21 |
|
| 22 |
RUN pip install --upgrade pip
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
RUN pip install
|
|
|
|
| 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 |
|