Files
linux-odyssey/server/quests/helloworld/Dockerfile
T
wancat 41a12c9aa8 feat: collect 2 level files info when ls
* change cli dir to /usr/local/lib/cli
* refactor cli to multiple files
* add handleCommand and listeners pattern
2023-08-21 20:40:05 +08:00

20 lines
306 B
Docker

FROM node:latest
RUN apt-get update && apt-get install -y \
curl \
vim \
zsh \
jq
RUN adduser --disabled-password --gecos '' --shell /bin/zsh rudeus
USER rudeus
WORKDIR /home/rudeus
COPY ./server/quests/helloworld/home /home/rudeus/
COPY ./packages/cli /usr/local/lib/cli
CMD [ "/bin/zsh" ]