Browse Source

Dockerfile changes

- running the application inside the container as root is against best practices
- using gcr.io/distroless/cc as smaller minimal image
- add authors label
debug-collab-settlement
bonomat 3 years ago
parent
commit
1cddd5210e
No known key found for this signature in database GPG Key ID: E5F8E74C672BC666
  1. 7
      Dockerfile

7
Dockerfile

@ -1,6 +1,9 @@
FROM debian:bullseye-slim
FROM gcr.io/distroless/cc
LABEL org.opencontainers.image.source https://github.com/itchysats/itchysats
USER 1000
LABEL "org.opencontainers.image.source"="https://github.com/itchysats/itchysats"
LABEL "org.opencontainers.image.authors"="hello@itchysats.network"
ARG TARGETPLATFORM
ARG BINARY_PATH

Loading…
Cancel
Save