Next.js Discord

Discord Forum

Docker build failing on Github Actions

Unanswered
American posted this in #help-forum
Open in Discord
AmericanOP
Hello!

I can build my nextjs docker image fine on my local machine, it even works if I pull a clean git repo and build it there, but when I try to build it on Github Actions I get the following error:

error: error reading build output: failed to compute cache key: failed to calculate checksum of ref 9368eea6-35a7-407f-8893-7ddd489a1d43::ekaa3ek0ezyxwyowzd6o1y1uy: "/app/apps/nextjs/.next/standalone": not found

I'm not sure how to debug it since it works locally. Any tips?

My Dockerfile is here (too long to include in this post): https://pastebin.com/5P2CUcXJ

0 Replies