Merge pull request #376 from Craeckie/master

Use unprivileged user in docker
This commit is contained in:
Zack 2021-04-23 10:28:22 -07:00 committed by GitHub
commit b90f9329ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -11,5 +11,6 @@ EXPOSE 9011
EXPOSE 9012
EXPOSE 9013
COPY --from=builder /go/croc/croc /go/croc/croc-entrypoint.sh /
USER nobody
ENTRYPOINT ["/croc-entrypoint.sh"]
CMD ["relay"]