mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
20 lines
316 B
Docker
20 lines
316 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/cli.js /usr/local/bin/cli.js
|
|
|
|
CMD [ "/bin/zsh" ]
|