build: add OCI image labels and tag web service image

This commit is contained in:
2026-04-28 12:54:17 +02:00
parent aba0972582
commit 6312e8fd1e
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -1,5 +1,9 @@
FROM python:3.12-slim FROM python:3.12-slim
LABEL org.opencontainers.image.source="https://gitea.bigoscloud.com/biggy/django-discord" \
org.opencontainers.image.title="django-discord" \
org.opencontainers.image.url="https://gitea.bigoscloud.com/biggy/django-discord"
WORKDIR /app WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
+1
View File
@@ -16,6 +16,7 @@ services:
web: web:
build: . build: .
image: gitea.bigoscloud.com/biggy/django-discord:latest
ports: ports:
- "8000:8000" - "8000:8000"
environment: environment: