Error deploying nextjs 14 app

machi3mflTRIAL

9 months ago

13 [runner 1/5] COPY --from=builder /app/refine/public ./public

13 ERROR: failed to calculate checksum of ref xp9s36kzxv7vut4rplzhpe98w::kpvkoz9as1xrzt05v5h3rl1dp: "/app/refine/public": not found

[runner 1/5] COPY --from=builder /app/refine/public ./public:

Dockerfile:28

26 | ENV NODE_ENV production

27 |

28 | >>> COPY --from=builder /app/refine/public ./public

29 |

30 | RUN mkdir .next

ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref xp9s36kzxv7vut4rplzhpe98w::kpvkoz9as1xrzt05v5h3rl1dp: "/app/refine/public": not found

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

1 Replies

9 months ago

From your build logs -

COPY --from=builder /app/refine/public ./public

"/app/refine/public": not found

Error deploying nextjs 14 app - Railway Help Station