From 6b6ec56cef3257a38f43f3271ffb7c58e799dcfe Mon Sep 17 00:00:00 2001 From: Steven Hollingsworth Date: Thu, 11 May 2023 09:57:39 -0700 Subject: [PATCH] testing secret length --- frontend/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 091fdc4..b045347 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -17,7 +17,8 @@ COPY . . # Show secret length RUN --mount=type=secret,id=google_api \ - bash -c "api key length: $(cat /run/secrets/google_api | wc -c)" + bash -c "echo api key length: $(cat /run/secrets/google_api | wc -c)" + # Build the project RUN --mount=type=secret,id=google_api \ bash -c "VITE_GOOGLE_MAPS_API_KEY=$(cat /run/secrets/google_api) yarn build"