diff --git a/Dockerfile b/Dockerfile index f63f3ef9..c03b025c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,8 +47,8 @@ COPY . . COPY . ./ -RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile \ - --mount=type=secret,id=AWS_EXPORTS_JSON,target=./src/aws-exports.js \ +RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile +RUN --mount=type=secret,id=AWS_EXPORTS_JSON,target=./src/aws-exports.js \ pnpm run build # ===================== App Runner Stage ===================== diff --git a/package.json b/package.json index 039b9840..caf7add7 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "@aws-amplify/ui-react-liveness": "^2.0.1", "@aws-sdk/client-rekognition": "^3.379.1", "@babel/core": "^7.22.11", + "@emotion/cache": "^11.11.0", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.10.6", "@google-cloud/logging-bunyan": "^5.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f8d5a156..a9cad3fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,6 +17,9 @@ dependencies: '@babel/core': specifier: ^7.22.11 version: 7.23.2 + '@emotion/cache': + specifier: ^11.11.0 + version: 11.11.0 '@emotion/react': specifier: ^11.11.1 version: 11.11.1(@types/react@18.2.28)(react@18.2.0)