Skip to content

Commit

Permalink
fix(docker): build correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavovalverde committed Oct 15, 2023
1 parent 2ff98c3 commit d28424e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 =====================
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d28424e

Please sign in to comment.