Assets and test data used by the Catena-X Portal. This is a temporary solution building a webserver image from the repository with built in assets - the final solution would be to store the assets in an object store like https://min.io
local build
export NAME=cx-portal-assets
export IMAGE=ghcr.io/catenax-ng/product-portal-common-assets
docker build -t $IMAGE -f .conf/Dockerfile .
docker run --rm -d -p 8080:8080 --name $NAME $IMAGE
docker exec $NAME find /usr/share/nginx/html/
docker stop $NAME
docker tag $IMAGE $IMAGE:main
docker push $IMAGE
https://catenaxdev003util.blob.core.windows.net/assets/index.html
commands (bash)
source ./scripts/util.sh
list-container
list-blobs
create-index
deploy-assets