diff --git a/Dockerfile b/Dockerfile index f868bf6..3d49892 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ FROM golang:alpine -LABEL maintainer="marcel.parciak@mgmail.com" -ENV TOKEN "" +LABEL maintainer="marcel.parciak@gmail.com" WORKDIR /etc/postwoman-proxy @@ -10,4 +9,7 @@ RUN ./build.sh linux server EXPOSE 9159/tcp -CMD ["sh", "-c", "/etc/postwoman-proxy/out/linux-server/postwoman-proxy-server --host 0.0.0.0:9159 --token $TOKEN"] +# this should be a standard user with the users group on alpine +USER 1000:100 + +CMD ["sh", "-c", "/etc/postwoman-proxy/out/linux-server/postwoman-proxy-server --host 0.0.0.0:9159"]