Dockerfile: fix runtime error Module not found "/app/src/entrypoints/cli.tsx"

This commit is contained in:
dev 2025-09-02 16:20:59 +08:00 committed by root
parent f23787f50d
commit da15ca5a5f

View File

@ -72,6 +72,7 @@ WORKDIR /workspace
COPY --from=builder /app/cli.js /app/cli.js
COPY --from=builder /app/package.json /app/package.json
COPY --from=builder /app/node_modules /app/node_modules
COPY --from=builder /app/src /app/src
# Create the entrypoint script
RUN cat << 'EOF' > /entrypoint.sh
@ -83,4 +84,4 @@ EOF
RUN chmod +x /entrypoint.sh
# Set the entrypoint
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]