build: add OCI image labels and tag web service image
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user