server (sha256:7e3f9519e14a777eea14e86415a988b620b34e5343aa28e8def255b64def7d9b)
Published 2026-04-26 13:58:30 +02:00 by opgl
Installation
docker pull git.plochit.pl/shardhost.eu/server@sha256:7e3f9519e14a777eea14e86415a988b620b34e5343aa28e8def255b64def7d9bsha256:7e3f9519e14a777eea14e86415a988b620b34e5343aa28e8def255b64def7d9bImage layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1776729600' |
| WORKDIR /app |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c groupadd -r appuser && useradd -r -g appuser appuser # buildkit |
| COPY /app/target/release/server /usr/local/bin/server # buildkit |
| COPY migrations ./migrations # buildkit |
| RUN /bin/sh -c chown -R appuser:appuser /app # buildkit |
| USER appuser |
| ENV HOST=0.0.0.0 |
| ENV PORT=8080 |
| EXPOSE [8080/tcp] |
| CMD ["server"] |
Details
2026-04-26 13:58:30 +02:00
Versions (42)
View all
Container
1
OCI / Docker
linux/amd64
39 MiB