refactor(deploy): use Rust Server runtime contracts

This commit is contained in:
AAA committed 2026-10-30 22:32:59 -04:00
1 parent fcc0bb53bc
commit 1d86f22028
11 files changed
+92 -157

No files matched your search

+5 -4
View File
@@ -1,9 +1,9 @@
FROM gcr.io/distroless/static-debian13:nonroot@sha256:e2e927ec666bae08560abb3c55d0659eceabb657f56b6782ab500a9fc7f555e3
FROM gcr.io/distroless/cc-debian13:nonroot@sha256:3ee00291cf386ec52a552e6a858d555debd74776eb4bfa53fa3df2cd6677515e
ARG PIIK_VERSION=development
ARG PIIK_REVISION
ARG PIIK_SERVER_SHA256
LABEL org.opencontainers.image.title="Piik Server" \
org.opencontainers.image.description="Private screen sharing with Web, signaling, STUN and optional media fallback." \
org.opencontainers.image.description="Private rooms with the shared Web UI and Rust media forwarding." \
org.opencontainers.image.source="https://github.com/TNTcraftHIM/Piik" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.version=$PIIK_VERSION \
@@ -12,7 +12,8 @@ LABEL org.opencontainers.image.title="Piik Server" \
WORKDIR /app
COPY --chmod=0555 piik-server /app/
COPY --chmod=0444 LICENSE THIRD-PARTY-NOTICES.txt REVISION /app/
ENV LISTEN_HOST=0.0.0.0 PIIK_LOG_DIR=/home/nonroot/logs ROOM_DATABASE_PATH=/home/nonroot/rooms.sqlite
COPY web/ /app/web/
ENV PIIK_CHANNEL_BIND_ADDRESS=0.0.0.0 PIIK_CHANNEL_PORT=8787 PIIK_CHANNEL_DATA_DIR=/home/nonroot
USER 65532:65532
EXPOSE 8787/tcp 3478/udp 3479/udp 3480/udp 7882/udp
EXPOSE 8787/tcp
ENTRYPOINT ["/app/piik-server"]