- FROM debian:latest
- RUN apt update && apt dist-upgrade -y
- RUN apt install git -y
- COPY wiki/wiki.sh /root
- RUN groupadd -g 1002 wiki
- RUN useradd -g wiki -u 1114 -s /bin/false -d /home/wiki wiki
- RUN chmod a+x /root/wiki.sh
- CMD ['/bin/bash','/root/wiki.sh']
|