mirror of
https://github.com/schollz/croc.git
synced 2025-10-10 21:01:02 +02:00
Don't force users to set $CROC_PASS
This commit is contained in:
parent
1ae85758f0
commit
06dd3ba62f
3 changed files with 10 additions and 3 deletions
|
@ -10,5 +10,6 @@ EXPOSE 9010
|
|||
EXPOSE 9011
|
||||
EXPOSE 9012
|
||||
EXPOSE 9013
|
||||
COPY --from=builder /go/croc/croc /croc
|
||||
CMD ["sh", "-c", "/croc --pass $CROC_PASS relay"]
|
||||
COPY --from=builder /go/croc/croc /go/croc/croc-entrypoint.sh /
|
||||
ENTRYPOINT ["/croc-entrypoint.sh"]
|
||||
CMD ["relay"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue