Skip to content

Commit

Permalink
ci: move image source to end in bot dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Sep 28, 2024
1 parent c850a71 commit b206347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Based on https://github.com/svx/poetry-fastapi-docker/blob/main/Dockerfile

LABEL org.opencontainers.image.source = "https://github.com/one-zero-eight/music-room"

###########################################################
# Base Python image. Set shared environment variables.
FROM python:3.12-slim-bullseye AS base
Expand Down Expand Up @@ -61,5 +59,7 @@ COPY --chown=poetry:poetry . /code
USER poetry
WORKDIR /code

LABEL org.opencontainers.image.source = "https://github.com/one-zero-eight/music-room"

Check warning on line 62 in bot.Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push-image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "LABEL key=value" should be used instead of legacy "LABEL key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

ENTRYPOINT [ "/docker-entrypoint.sh" ]
CMD [ "python3", "-m" , "src.bot" ]

0 comments on commit b206347

Please sign in to comment.