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
update docker file for prod build
Maidul Islamf389aa07ebfa
diff --git a/secret-engine/Dockerfile b/secret-engine/Dockerfileindex c1cd23e103..32189a70b5 100644--- a/secret-engine/Dockerfile+++ b/secret-engine/Dockerfile@@ -5,4 +5,11 @@ RUN npm ci --productionRUN npm cache clean --forceENV NODE_ENV="production"COPY . .-CMD [ "npm", "start" ]++RUN apt-get update && apt-get install -y bash curl && curl -1sLf \+ 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | bash \+ && apt-get update && apt-get install -y infisical=0.8.1++RUN npm run build++CMD [ "npm", "run", "start:prod" ]diff --git a/secret-engine/package.json b/secret-engine/package.jsonindex 0a8f744e64..c9ed325700 100644--- a/secret-engine/package.json+++ b/secret-engine/package.json@@ -14,7 +14,8 @@"scripts": {"build": "tsc && cp -R ./src/templates ./lib","dev": "npm run build && probot run ./lib/index.js",- "start": "nodemon -e ts,yml --watch './**/*.ts' --exec npm run dev",+ "start:dev": "nodemon -e ts,yml --watch './**/*.ts' --exec npm run dev",+ "start:prod": "probot run ./lib/index.js","test": "jest"},"dependencies": {