In the past, this image used to pass --prefix /app to the npm start command, which is used to force non-global commands to run in the specified folder. We are removing that prefix and instead setting up a working-dir to keep consisdenty with upstream.
Testing instructions
Prerequisites:
skopeo
docker
Build the rock rockcraft pack -v
Save the rock as an OCI image in docker's local registry skopeo --insecure-policy copy oci-archive:kubeflow-central-dashboard_1.8_amd64.rock docker-daemon:cdash:0.1
Run a container with the image and replace the entrypoint with a shell docker run --rm -ti cdash:0.1
Ensure that the service is running correctly:
2024-02-14T13:26:52.268Z [serve] "other" is not a supported platform for Metrics
2024-02-14T13:26:52.268Z [serve] Using Profiles service at http://profiles-kfam.kubeflow:8081/kfam
2024-02-14T13:26:52.270Z [serve] Server listening on port http://localhost:8082 (in production mode)
In the past, this image used to pass --prefix /app to the npm start command, which is used to force non-global commands to run in the specified folder. We are removing that prefix and instead setting up a working-dir to keep consisdenty with upstream.
Testing instructions
Prerequisites:
rockcraft pack -v
skopeo --insecure-policy copy oci-archive:kubeflow-central-dashboard_1.8_amd64.rock docker-daemon:cdash:0.1
docker run --rm -ti cdash:0.1