Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hmatsu47 authored Jul 8, 2024
1 parent 31ef0d7 commit b0d6446
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ ENV AWS_LWA_PORT=3000
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.8.3 /lambda-adapter /opt/extensions/lambda-adapter

# standalone mode 向けの明示的コピー
COPY --from=builder /next.config.js ./
COPY --from=builder /public ./public
COPY --from=builder /.next/static ./.next/static
COPY --from=builder /build/next.config.js ./
COPY --from=builder /build/public ./public
COPY --from=builder /build/.next/static ./.next/static

COPY --from=builder /.next/standalone ./
COPY --from=builder /build/.next/standalone ./
COPY --from=builder /build/run.sh ./run.sh

RUN ln -s /tmp/cache ./.next/cache
Expand Down

0 comments on commit b0d6446

Please sign in to comment.