mirror of
https://github.com/moghtech/komodo.git
synced 2026-04-27 11:50:24 -05:00
add labels to binary / frontend images
This commit is contained in:
@@ -20,4 +20,8 @@ RUN \
|
||||
FROM scratch
|
||||
|
||||
COPY --from=builder /builder/target/release/core /core
|
||||
COPY --from=builder /builder/target/release/periphery /periphery
|
||||
COPY --from=builder /builder/target/release/periphery /periphery
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo
|
||||
LABEL org.opencontainers.image.description="Komodo Periphery"
|
||||
LABEL org.opencontainers.image.licenses=GPL-3.0
|
||||
@@ -15,4 +15,9 @@ RUN cd frontend && yarn link komodo_client && yarn && yarn build
|
||||
|
||||
# Copy just the static frontend to scratch image
|
||||
FROM scratch
|
||||
COPY --from=builder /builder/frontend/dist /frontend
|
||||
|
||||
COPY --from=builder /builder/frontend/dist /frontend
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo
|
||||
LABEL org.opencontainers.image.description="Komodo Periphery"
|
||||
LABEL org.opencontainers.image.licenses=GPL-3.0
|
||||
Reference in New Issue
Block a user