Add COMMAND env variable support for shell command

This commit is contained in:
2025-11-06 14:45:15 +01:00
parent 1f0cd36375
commit 8e6cbe38f0
4 changed files with 7 additions and 12 deletions

View File

@@ -14,6 +14,8 @@ RUN apk add --no-cache ca-certificates
COPY --from=builder /app/sshserver /usr/local/bin/sshserver
ENV COMMAND /app/tui
EXPOSE 22
CMD ["/usr/local/bin/sshserver"]