Merge pull request #67 from xiaomao87/fix-dockerfile
Dockerfile: fix runtime error `Module not found "/app/src/entrypoints/cli.tsx"`
This commit is contained in:
commit
53234ba2d9
@ -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"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user