Move labels to Dockerfile
This commit is contained in:
parent
0f7b1eba40
commit
d160f069e2
2 changed files with 12 additions and 6 deletions
16
Dockerfile
16
Dockerfile
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue