Update Dockerfile

This commit is contained in:
gigirassy
2026-06-19 18:48:29 +02:00
parent 124296ecf1
commit 0ed67b6b97
+5 -3
View File
@@ -17,10 +17,12 @@ RUN case "$TARGETARCH" in \
--root /out \
--target "$cargo_target"
FROM kgrv/mini:tn
FROM scratch
COPY --from=build --chown=mini:mini /out/bin/the-pit /the-pit
USER 60000:60000
COPY --from=build --chown=60000:60000 /out/bin/the-pit /the-pit
ENV TARPIT_BIND=0.0.0.0:22
ENTRYPOINT ["tini", "--", "/the-pit"]
ENTRYPOINT [""/the-pit"]