Skip to content

Commit

Permalink
fix: remove prefix from command and set a working-dir to /app (#76)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DnPlas authored Feb 15, 2024
1 parent 3abeabc commit 0719441
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion centraldashboard/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ services:
serve:
override: replace
summary: "Kubeflow central dashboard service"
command: "/usr/bin/npm start --prefix /app"
command: "/usr/bin/npm start"
startup: enabled
working-dir: "/app"
environment:
NODE_ENV: production

Expand Down

0 comments on commit 0719441

Please sign in to comment.