diff --git a/Dockerfile b/Dockerfile index a1200bb..e6b0470 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,15 @@ RUN go mod download COPY . . RUN make build +############################################################### + FROM scratch +LABEL org.opencontainers.image.source="https://github.com/rramiachraf/dumb" +LABEL org.opencontainers.image.url="https://github.com/rramiachraf/dumb" +LABEL org.opencontainers.image.licenses="MIT" +LABEL org.opencontainers.image.description="Private alternative front-end for Genius." + COPY --from=build /code/dumb . COPY --from=build /code/static static COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/