chart data loading
This commit is contained in:
@@ -9,10 +9,13 @@ COPY tsconfig.json ./
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy protobuf definitions
|
||||
COPY protobuf ../protobuf/
|
||||
|
||||
# Copy source
|
||||
COPY src ./src
|
||||
|
||||
# Build
|
||||
# Build (includes protobuf generation)
|
||||
RUN npm run build
|
||||
|
||||
# Production image
|
||||
@@ -53,6 +56,12 @@ RUN npm install --omit=dev
|
||||
# Copy built application
|
||||
COPY --from=builder /app/dist ./dist
|
||||
|
||||
# Copy protobuf definitions for runtime loading
|
||||
COPY protobuf ./protobuf
|
||||
|
||||
# Copy k8s templates (not included in TypeScript build)
|
||||
COPY src/k8s/templates ./dist/k8s/templates
|
||||
|
||||
# Copy entrypoint script
|
||||
COPY entrypoint.sh ./
|
||||
RUN chmod +x entrypoint.sh
|
||||
|
||||
Reference in New Issue
Block a user