1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 23:33: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 # Base
## For AMD64 Servers: FROM oven/bun:alpine AS based
FROM ark.sudovanilla.org/korbs/node:alpine AS based
## For ARM64 Servers: # Metadata
## FROM ark.sudovanilla.org/korbs/bun:arm64 as based 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 # Copy Files
WORKDIR /app WORKDIR /app
@ -10,4 +16,4 @@ COPY . .
# Run # Run
EXPOSE 2014 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", "preview": "astro preview",
"docker:start": "docker compose up -d", "docker:start": "docker compose up -d",
"docker:stop": "docker compose down", "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" "docker:push": "buildah push oci.registry.sudovanilla.org/butterflyvu"
}, },
"dependencies": { "dependencies": {