1
1
Fork 0
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:
Thorben Günther 2019-12-06 14:49:45 +01:00
parent 1ae85758f0
commit 06dd3ba62f
No known key found for this signature in database
GPG key ID: 415CD778D8C5AFED
3 changed files with 10 additions and 3 deletions

View file

@ -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"]