Skip to content

Commit

Permalink
fix(Dockerfile): remove script entrypoint (#2707)
Browse files Browse the repository at this point in the history
- `~/gossamer-dev` is not used
- `init` command does not seem needed
- `genesis_created` is not used
- `exec "$@"` was causing trouble
- remove dependency on `bash`
  • Loading branch information
qdm12 committed Jul 26, 2022
1 parent 3be75b2 commit abd161b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ COPY --from=builder /go/src/github.com/ChainSafe/gossamer/libwasmer.so /lib/libw

EXPOSE 7001 8546 8540

ENTRYPOINT ["/gossamer/docker-entrypoint.sh"]
CMD ["/gossamer/bin/gossamer"]
ENTRYPOINT [ "/gossamer/bin/gossamer" ]

COPY chain /gossamer/chain
COPY scripts/docker-entrypoint.sh /gossamer/docker-entrypoint.sh
COPY --from=builder /go/src/github.com/ChainSafe/gossamer/bin/gossamer /gossamer/bin/gossamer
29 changes: 0 additions & 29 deletions scripts/docker-entrypoint.sh

This file was deleted.

0 comments on commit abd161b

Please sign in to comment.