Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Revert run as node backend due to slow build times
Maidul Islam37d52432d0a8
diff --git a/backend/Dockerfile b/backend/Dockerfileindex c80ef18b53..e24cacaf21 100644--- a/backend/Dockerfile+++ b/backend/Dockerfile@@ -2,9 +2,6 @@FROM node:16-alpine AS buildWORKDIR /app-USER node--ENV npm_config_cache /home/node/.npmCOPY package*.json ./RUN npm ci --only-production@@ -15,21 +12,18 @@ RUN npm run build# Production stageFROM node:16-alpine-RUN apk add --no-cache bash curl && curl -1sLf \- 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash \- && apk add infisical=0.8.1-WORKDIR /app-USER node--ENV npm_config_cache /home/node/.npmCOPY package*.json ./RUN npm ci --only-productionCOPY --from=build /app .-HEALTHCHECK --interval=10s --timeout=3s --start-period=10s \+RUN apk add --no-cache bash curl && curl -1sLf \+ 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash \+ && apk add infisical=0.8.1++HEALTHCHECK --interval=10s --timeout=3s --start-period=10s \CMD node healthcheck.jsEXPOSE 4000