mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
feat: Add BASE_PATH support with -base image variant
This commit is contained in:
parent
860e6390f1
commit
2e10ceee0e
2 changed files with 31 additions and 15 deletions
|
|
@ -16,7 +16,7 @@ COPY --from=deps /app/node_modules ./node_modules
|
|||
COPY . .
|
||||
COPY docker/middleware.ts ./src
|
||||
|
||||
ARG BASE_PATH
|
||||
ARG BASE_PATH=""
|
||||
|
||||
ENV BASE_PATH=$BASE_PATH
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
|
@ -30,10 +30,12 @@ WORKDIR /app
|
|||
|
||||
ARG PRISMA_VERSION="6.19.0"
|
||||
ARG NODE_OPTIONS
|
||||
ARG BASE_PATH=""
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
ENV NODE_OPTIONS=$NODE_OPTIONS
|
||||
ENV BASE_PATH=$BASE_PATH
|
||||
|
||||
RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 nextjs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue