proxywoman/Dockerfile
Marcel Parciak 9ce1fe310f Changed to a non-root user.
Signed-off-by: Marcel Parciak <marcel.parciak@gmail.com>
2020-04-20 13:26:47 +02:00

15 lines
349 B
Docker

FROM golang:alpine
LABEL maintainer="marcel.parciak@gmail.com"
WORKDIR /etc/postwoman-proxy
COPY . /etc/postwoman-proxy
RUN ./build.sh linux server
EXPOSE 9159/tcp
# 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"]