diff --git a/client/Dockerfile b/client/Dockerfile index d0d5545..4e34045 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -11,7 +11,7 @@ RUN yarn install COPY . . ARG COMMIT_SHA=unknown -ENV COMMIT_SHA=$COMMIT_SHA +ENV VITE_COMMIT_SHA=$COMMIT_SHA RUN yarn generate diff --git a/client/nuxt.config.ts b/client/nuxt.config.ts index 5ace8bd..5bfd384 100644 --- a/client/nuxt.config.ts +++ b/client/nuxt.config.ts @@ -12,7 +12,7 @@ export default defineNuxtConfig({ strictPort: true, }, define: { - __COMMIT_SHA__: JSON.stringify(process.env.COMMIT_SHA || 'local'), + __COMMIT_SHA__: JSON.stringify(process.env.VITE_COMMIT_SHA || 'local'), }, }, ignore: ['**/src-tauri/**'],