capes (latest)
Published 2024-11-14 09:38:12 +00:00 by 2vb
Installation
docker pull git.twovb.xyz/2vb/capes:latestsha256:b30ae0a2e39ddd33191c8b985c3073b74f5f4b62dff7a592f8b62ff97d4e7d08Image Layers
| ADD file:b4987bca8c4c4c640d6b71dcccfd7172b44771e0f851a47d05c00c2bdcd204f6 in / |
| CMD ["bash"] |
| WORKDIR /app |
| RUN /bin/sh -c apt update ; apt upgrade ; apt install unzip vim wget -y # buildkit |
| RUN /bin/sh -c mkdir /app/data/ # buildkit |
| COPY /app/items.zip /root/items.zip # buildkit |
| RUN /bin/sh -c unzip /root/items.zip -d /app/data/items # buildkit |
| RUN /bin/sh -c echo "alias ls='ls --color=auto'" >> /app/.bashrc # buildkit |
| RUN /bin/sh -c useradd -d /app webserver && chown -R webserver:webserver /app # buildkit |
| COPY /cape-server /app/cape-server # buildkit |
| COPY /app/config.toml.example /app/config.toml.example # buildkit |
| USER webserver |
| EXPOSE map[3000/tcp:{}] |
| ENTRYPOINT ["/app/cape-server"] |