Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
NBTX authored Aug 28, 2020
1 parent 80ef822 commit 94bf5c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM golang:alpine

LABEL maintainer="marcel.parciak@gmail.com"
LABEL maintainer="me+proxyscotch@samjakob.com"

WORKDIR /etc/postwoman-proxy
WORKDIR /etc/proxyscotch

COPY . /etc/postwoman-proxy
COPY . /etc/proxyscotch
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"]
CMD ["sh", "-c", "/etc/proxyscotch/out/linux-server/proxyscotch-server-* --host 0.0.0.0:9159"]

0 comments on commit 94bf5c6

Please sign in to comment.