mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
refactor: move client to sperate packages, rename cli to container
This commit is contained in:
1 parent
41a12c9aa8
commit
6ace18475b
15 files changed
+51
-28
No files matched your search
@@ -14,6 +14,6 @@ WORKDIR /home/rudeus
|
||||
|
||||
COPY ./server/quests/helloworld/home /home/rudeus/
|
||||
|
||||
COPY ./packages/cli /usr/local/lib/cli
|
||||
COPY ./packages/container /usr/local/lib/container
|
||||
|
||||
CMD [ "/bin/zsh" ]
|
||||
@@ -29,7 +29,7 @@ precmd() {
|
||||
export CMD_ERROR_FILE=/tmp/cmd.error
|
||||
|
||||
# Now run your Node.js script with the result as an argument
|
||||
node /usr/local/lib/cli/cli.js
|
||||
node /usr/local/lib/container/cli.js
|
||||
|
||||
rm /tmp/cmd.out /tmp/cmd.error 2>/dev/null # cleanup
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user