mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-08 23:18:05 -05:00
set telemetry post frontend build in standalone docker img
This commit is contained in:
@@ -74,6 +74,7 @@ COPY backend/package*.json ./
|
||||
RUN npm ci --only-production
|
||||
|
||||
COPY /backend .
|
||||
COPY standalone-entrypoint.sh standalone-entrypoint.sh
|
||||
RUN npm run build
|
||||
|
||||
# Production stage
|
||||
@@ -105,6 +106,9 @@ ENV NODE_ENV production
|
||||
|
||||
WORKDIR /backend
|
||||
|
||||
CMD ["node", "build/index.js"]
|
||||
ENV TELEMETRY_ENABLED true
|
||||
|
||||
CMD ["./standalone-entrypoint.sh"]
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user