Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix dockerfile warnings #11

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
ENV BACKEND_URL=http://acend-website-backend:8000


LABEL maintainer acend.ch

Check warning on line 17 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

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/
LABEL org.opencontainers.image.title "acend.ch's Website"
LABEL org.opencontainers.image.description "Container with acend.ch's Website"
LABEL org.opencontainers.image.authors acend.ch
LABEL org.opencontainers.image.source https://github.com/acend/website/
LABEL org.opencontainers.image.licenses CC-BY-SA-4.0
LABEL org.opencontainers.image.title="acend.ch's Website"
LABEL org.opencontainers.image.description="Container with acend.ch's Website"
LABEL org.opencontainers.image.authors="acend.ch"
LABEL org.opencontainers.image.source="https://github.com/acend/website/"
LABEL org.opencontainers.image.licenses="CC-BY-SA-4.0"

COPY --from=builder /src/public /usr/share/nginx/html
COPY ./nginx.conf.template /etc/nginx/templates/default.conf.template