fix: IndeedHub demo clone uses GITEA_TOKEN build arg
Private repo needs auth — pass GITEA_TOKEN as env var in Portainer, never hardcoded. Or make the repo public to skip auth entirely. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
3461c97fcd
commit
a9f98fe04c
@@ -3,7 +3,8 @@
|
||||
FROM node:20-alpine AS builder
|
||||
RUN apk add --no-cache git
|
||||
WORKDIR /app
|
||||
RUN git clone --depth 1 https://git.tx1138.com/lfg2025/indeehub.git .
|
||||
ARG GITEA_TOKEN=""
|
||||
RUN git clone --depth 1 https://testaccount:${GITEA_TOKEN}@git.tx1138.com/lfg2025/indeehub.git .
|
||||
RUN npm ci
|
||||
ENV VITE_USE_MOCK_DATA=false
|
||||
ENV VITE_INDEEHUB_API_URL=/api
|
||||
|
||||
Reference in New Issue
Block a user