mirror of
https://github.com/MizuchiLabs/mantrae.git
synced 2026-05-07 16:40:30 -05:00
29 lines
645 B
Docker
29 lines
645 B
Docker
FROM --platform=$BUILDPLATFORM alpine
|
|
|
|
ARG BUILDPLATFORM
|
|
ARG TARGETOS
|
|
ARG TARGETARCH
|
|
|
|
ARG VERSION
|
|
ARG COMMIT
|
|
ARG DATE
|
|
|
|
# Metadata labels
|
|
LABEL org.opencontainers.image.vendor="Mizuchi Labs"
|
|
LABEL org.opencontainers.image.source="https://github.com/MizuchiLabs/mantrae"
|
|
LABEL org.opencontainers.image.title="Mantrae"
|
|
LABEL org.opencontainers.image.version=$VERSION
|
|
LABEL org.opencontainers.image.revision=$COMMIT
|
|
LABEL org.opencontainers.image.created=$DATE
|
|
LABEL org.opencontainers.image.licenses="MIT"
|
|
|
|
WORKDIR /app
|
|
|
|
COPY mantrae-${TARGETOS}-${TARGETARCH} /usr/local/bin/mantrae
|
|
|
|
EXPOSE 3000
|
|
EXPOSE 8090
|
|
|
|
ENTRYPOINT ["/usr/local/bin/mantrae"]
|
|
|