1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 15:23:54 +00:00

Move labels to Dockerfile

This commit is contained in:
Korbs 2024-12-12 09:04:55 -05:00
parent 0f7b1eba40
commit d160f069e2
2 changed files with 12 additions and 6 deletions

View file

@ -1,8 +1,14 @@
# Base
## For AMD64 Servers:
FROM ark.sudovanilla.org/korbs/node:alpine AS based
## For ARM64 Servers:
## FROM ark.sudovanilla.org/korbs/bun:arm64 as based
FROM oven/bun:alpine AS based
# Metadata
LABEL org.opencontainers.image.title="ButterflyVu"
LABEL org.opencontainers.image.vendor="SudoVanilla"
LABEL org.opencontainers.image.description="Documentations built on Astro"
LABEL org.opencontainers.image.licenses="MIT NON-AI License"
LABEL org.opencontainers.image.url="https://butterflyvu.docs.sudovanilla.org/"
LABEL org.opencontainers.image.source="https://ark.sudovanilla.org/Korbs/ButterflyVu/"
LABEL org.opencontainers.image.version="0.1.6"
# Copy Files
WORKDIR /app
@ -10,4 +16,4 @@ COPY . .
# Run
EXPOSE 2014
CMD npm run build && npm run preview
CMD bun run build && bun run preview

View file

@ -27,7 +27,7 @@
"preview": "astro preview",
"docker:start": "docker compose up -d",
"docker:stop": "docker compose down",
"docker:build": "buildah build -t oci.registry.sudovanilla.org/butterflyvu --no-cache --annotation 'org.opencontainers.image.vendor=SudoVanilla' --annotation 'org.opencontainers.image.description=Documentations built on Astro' --annotation 'org.opencontainers.image.title=ButterflyVu' --annotation 'org.opencontainers.image.licenses=MIT NON-AI License' --annotation 'org.opencontainers.image.url=https://ark.sudovanilla.org/Korbs/ButterflyVu'",
"docker:build": "buildah build -t oci.registry.sudovanilla.org/butterflyvu --no-cache",
"docker:push": "buildah push oci.registry.sudovanilla.org/butterflyvu"
},
"dependencies": {