Skip to content

Commit

Permalink
feat(halo2): fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hunshenshi committed Jul 29, 2024
1 parent 130f7a8 commit 46cc0b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion halo2-wasm-node-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ WORKDIR /halo2-wasm-server/server
RUN npm install
RUN npm install -g clinic

CMD [ "clinic", "doctor -- node src/server.js" ]
CMD [ "/bin/bash", "start.sh" ]
5 changes: 5 additions & 0 deletions halo2-wasm-node-server/start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

echo start

echo y | clinic doctor --open=false -- node src/server.js && clinic doctor --open=false -- node src/server.js

0 comments on commit 46cc0b7

Please sign in to comment.