Browse Source

dockerfile: added labels org.opencontainers.image.title & .source

Fabian Peter Hammerle 4 năm trước cách đây
mục cha
commit
1fb7f9403e
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      Dockerfile

+ 4 - 0
Dockerfile

@@ -60,3 +60,7 @@ COPY --from=build $SOURCE_DIR_PATH $SOURCE_DIR_PATH
 ENV PATH=$SOURCE_DIR_PATH/.venv/bin:$PATH
 WORKDIR $SOURCE_DIR_PATH
 CMD ["location-guessing-game-telegram-bot"]
+
+# https://github.com/opencontainers/image-spec/blob/v1.0.1/annotations.md
+LABEL org.opencontainers.image.title="location guessing game telegram bot" \
+    org.opencontainers.image.source="https://github.com/fphammerle/location-guessing-game-telegram-bot"