build: streamline container configuration and metadata (#51)

- Remove the container healthcheck definition
- Delete the image authors label from the build

Signed-off-by: appleboy <appleboy.tw@gmail.com>

Reviewed-on: https://gitea.com/gitea/gitea-mcp/pulls/51
Co-authored-by: appleboy <appleboy.tw@gmail.com>
Co-committed-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy
2025-05-30 06:47:28 +00:00
committed by Bo-Yi Wu (吳柏毅)
parent e94dd26b30
commit 94782a85b6

View File

@@ -29,10 +29,6 @@ COPY --from=builder --chown=nonroot:nonroot /app/gitea-mcp .
USER nonroot:nonroot
HEALTHCHECK --interval=30s --timeout=3s \
CMD ["/app/gitea-mcp", "healthcheck"]
LABEL org.opencontainers.image.authors="your-team@example.com"
LABEL org.opencontainers.image.version="${VERSION}"
CMD ["/app/gitea-mcp"]