- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1
Usage
        Ricardo de Matos edited this page Feb 13, 2023 
        ·
        6 revisions
      
    valifn-python requires: Git 2.39+, Docker 20+
- 
You can use this image as is or you can add your own required packages to requirements.txt, before using it in the Valispace Scripting Module.# Valispace packages (mandatory) valispace==0.1.16 # Valispace Python API # Basic scientifical packages (mandatory) git+https://[email protected]/valispace/[email protected]+valispace#egg=pint # Physical quantities module (Valispace version) scipy==1.7.3 # Fundamental algorithms for scientific computing in Python # Add your packages here (optional) # super_cool_package==1.2.3 (example)
- 
Build the Docker image with tag valispace/valifn-python:latest:docker build --compress --tag valispace/valifn-python:latest .NOTE: If you build the image on your deployment server, you can ignore steps 3, 4 and 5. 
- 
Save the Docker image to a file: docker save valispace/valifn-python:latest | gzip > valifn-python-docker.tar.gz 
- 
Copy the tarball valifn-python-docker.tar.gzto your destination
- 
Load the image to your Docker instance: docker load --input valifn-python-docker.tar.gz 
- 
That's it! You have now replaced the Valispace Python Image to match your needs on your deployment! No restart is needed! 
Copyright © 2015-present, Valispace GmbH