fix: dockerfile
This commit is contained in:
+13
@@ -12,6 +12,19 @@ COPY . .
|
|||||||
RUN bun run build
|
RUN bun run build
|
||||||
|
|
||||||
FROM base AS release
|
FROM base AS release
|
||||||
|
ARG VERSION=dev
|
||||||
|
ARG REVISION=unknown
|
||||||
|
ARG CREATED
|
||||||
|
LABEL org.opencontainers.image.title="nadir" \
|
||||||
|
org.opencontainers.image.description="SvelteKit dashboard for nadir-agent — central web console for Nadir backend nodes." \
|
||||||
|
org.opencontainers.image.documentation="https://nadir.urania.dev/docs" \
|
||||||
|
org.opencontainers.image.url="https://tea.urania.dev/urania/nadir-webui" \
|
||||||
|
org.opencontainers.image.source="https://tea.urania.dev/urania/nadir-webui" \
|
||||||
|
org.opencontainers.image.authors="Mirko Isaia <m.isaia@urania.dev>" \
|
||||||
|
org.opencontainers.image.licenses="MIT" \
|
||||||
|
org.opencontainers.image.version="${VERSION}" \
|
||||||
|
org.opencontainers.image.revision="${REVISION}" \
|
||||||
|
org.opencontainers.image.created="${CREATED}"
|
||||||
ENV NODE_ENV=production \
|
ENV NODE_ENV=production \
|
||||||
DATABASE_URL=/app/data/db.sqlite \
|
DATABASE_URL=/app/data/db.sqlite \
|
||||||
HOST=0.0.0.0 \
|
HOST=0.0.0.0 \
|
||||||
|
|||||||
Reference in New Issue
Block a user