postok (latest)
Published 2024-12-17 09:13:44 +00:00 by 2vb
Installation
docker pull git.twovb.xyz/2vb/postok:latestsha256:2053aad7bf6bbca01c1e75f3932646f84ac8e2b397d63786943811203c22961fImage 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"] |