Skip to content

Commit

Permalink
adjust docker to run the cli by default
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Jul 18, 2024
1 parent a608e59 commit ea1e6ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
dockerfile: Dockerfile
ports:
- 50000:50000
command: relay
command: -m relay

volumes:
ssl_data:
1 change: 1 addition & 0 deletions packages/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM node:22.3-bookworm-slim
WORKDIR /node
COPY . .

RUN yarn
RUN chmod +x /node/entrypoint.sh

ENTRYPOINT ["/bin/bash", "/node/entrypoint.sh"]
3 changes: 1 addition & 2 deletions packages/node/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#!/bin/bash
yarn
exec yarn run "$@"
exec yarn cli "$@"

0 comments on commit ea1e6ec

Please sign in to comment.