diff --git a/Dockerfile b/Dockerfile index 1e7c83f..cd5264b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,12 @@ FROM alpine MAINTAINER Denis Zheleztsov -ADD out/zoorest /usr/bin/ +ADD out/zoorest /bin/ + +RUN echo -ne "zoorest\nzoorest\n" | adduser zoorest + +USER zoorest EXPOSE 8889 -ENTRYPOINT ["/usr/bin/zoorest"] +ENTRYPOINT ["/bin/zoorest"]