2vb

websiteserver (latest)

Published 2024-10-23 04:10:42 +00:00 by 2vb

Installation

docker pull git.twovb.xyz/2vb/websiteserver:latest
sha256:af5aaf6fa4006a79ffc8bfbacbe30104fa5b931244306cdb8a1cdf7a531b5513

Image Layers

ADD file:b4987bca8c4c4c640d6b71dcccfd7172b44771e0f851a47d05c00c2bdcd204f6 in /
CMD ["bash"]
WORKDIR /app
COPY /packwiz /bin/packwiz # buildkit
RUN /bin/sh -c apt update ; apt upgrade ; apt install vim wget -y # buildkit
RUN /bin/sh -c mkdir /app/data # 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 /webserver /app/webserver # buildkit
COPY /app/config.toml.example /app/config.toml.example # buildkit
COPY /app/web-files /app/data/web-files # buildkit
USER webserver
EXPOSE map[3000/tcp:{}]
ENTRYPOINT ["/app/webserver"]
Details
Container
2024-10-23 04:10:42 +00:00
2
OCI / Docker
linux/amd64
96 MiB
Versions (2) View all
latest 2024-10-23
raccoon 2024-10-23