diff --git a/docker/Dockerfile b/docker/Dockerfile index 31254e3..3922d7a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,8 +2,12 @@ FROM alpine:latest MAINTAINER github@erebe.eu -ADD https://github.com/erebe/wstunnel/blob/master/bin/wstunnel_x86_64?raw=true wstunnel -RUN chmod +x ./wstunnel +RUN adduser -D wstunnel +ADD https://github.com/erebe/wstunnel/blob/master/bin/wstunnel_x86_64?raw=true /home/wstunnel/wstunnel +RUN chmod +x /home/wstunnel/wstunnel -ENTRYPOINT ["./wstunnel"] +EXPOSE 8080 +USER wstunnel + +ENTRYPOINT ["/home/wstunnel/wstunnel"]