feat: improve docs and add ability to change url base of frontend

This commit is contained in:
maxDorninger
2025-05-31 14:00:04 +02:00
parent 40c90d90ed
commit a3754d6d0a
6 changed files with 29 additions and 14 deletions

View File

@@ -1,14 +1,13 @@
ARG VERSION
ARG BASE_URL=""
FROM node:24-alpine AS build
ARG VERSION
USER node:node
WORKDIR /app
COPY --chown=node:node . .
RUN npm ci
RUN env PUBLIC_VERSION=${VERSION} npm run build
RUN env PUBLIC_VERSION=${VERSION} BASE_URL=${BASE_URL} npm run build
FROM node:24-alpine AS frontend
ARG VERSION