Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: added infisical cli to docker and fixed redirect

Sheen Capadngan903fac1005e6
diff --git a/Dockerfile.standalone-infisical b/Dockerfile.standalone-infisical
index 8ffe7e3dea..269cbfcf9c 100644
--- a/Dockerfile.standalone-infisical
+++ b/Dockerfile.standalone-infisical
@@ -95,6 +95,10 @@ RUN mkdir frontend-build
# Production stage
FROM base AS production
RUN apk add --upgrade --no-cache ca-certificates
+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.31.1 && apk add --no-cache git
+
RUN addgroup --system --gid 1001 nodejs \
&& adduser --system --uid 1001 non-root-user
diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsx
index 09f49652ca..312e6af17d 100644
--- a/frontend/src/layouts/AppLayout/AppLayout.tsx
+++ b/frontend/src/layouts/AppLayout/AppLayout.tsx
@@ -230,6 +230,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
(!orgs?.map((org) => org.id)?.includes(router.query.id as string) &&
!router.asPath.includes("project") &&
!router.asPath.includes("personal") &&
+ !router.asPath.includes("secret-scanning") &&
!router.asPath.includes("integration")))
) {
router.push(`/org/${currentOrg?.id}/overview`);