Skip to content

Commit b03d26f

Browse files
committed
Dockerfile update for tls listen
1 parent daa035b commit b03d26f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ RUN apt install openssl
66
RUN update-ca-certificates --fresh
77
ARG listen=0.0.0.0
88
ARG port=8088
9+
ARG tlskey=""
10+
ARG tlscert=""
911
ENV listen=$listen
1012
ENV port=$port
13+
ENV tlskey=$tlskey
14+
ENV tlscert=$tlscert
1115
COPY builds/linux/amd64/getsum ./
12-
CMD /app/getsum -s -l $listen -p $port -dir /tmp
16+
CMD ls -laZ && /app/getsum -s -l $listen -p $port -dir /tmp -tk ""$tlskey -tc ""$tlscert
1317
EXPOSE $port

0 commit comments

Comments
 (0)