feat: use minimist to refactor cli

This commit is contained in:
wancat committed 2023-08-21 20:40:05 +08:00
1 parent 6ace18475b
commit 34d5ace664
5 files changed
+48 -41

No files matched your search

+10 -2
View File
@@ -6,6 +6,16 @@ RUN apt-get update && apt-get install -y \
zsh \
jq
WORKDIR /usr/local/lib/container
COPY ./packages/container/package.json ./yarn.lock ./
RUN yarn install --modules-folder /usr/src/node_modules
ENV NODE_PATH=/usr/src/node_modules
COPY ./packages/container /usr/local/lib/container
RUN adduser --disabled-password --gecos '' --shell /bin/zsh rudeus
USER rudeus
@@ -14,6 +24,4 @@ WORKDIR /home/rudeus
COPY ./server/quests/helloworld/home /home/rudeus/
COPY ./packages/container /usr/local/lib/container
CMD [ "/bin/zsh" ]