diff --git a/deploy/railway-web.Dockerfile b/deploy/railway-web.Dockerfile index 26a7bc2b..ff8681fd 100644 --- a/deploy/railway-web.Dockerfile +++ b/deploy/railway-web.Dockerfile @@ -25,6 +25,10 @@ COPY skills /app/skills RUN npm run build +# File tracing pulls skills/ into the standalone bundle with symlinks resolved into +# real directories, which then collides with the explicit COPY in the final stage. +RUN rm -rf /app/frontend/.next/standalone/skills + FROM swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:22-alpine WORKDIR /app/frontend