Merge pull request #51 from SenseUnit/tzdata

Add tzdata to alpine image
This commit is contained in:
Snawoot 2024-02-20 10:47:13 +02:00 committed by GitHub
commit 00cf12039c
Failed to generate hash of commit
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ FROM alpine AS alpine
COPY --from=build /go/src/github.com/SenseUnit/dumbproxy/dumbproxy /
COPY --from=build /certs.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=build --chown=9999:9999 /.dumbproxy /.dumbproxy
RUN apk add --no-cache tzdata
USER 9999:9999
EXPOSE 8080/tcp
ENTRYPOINT ["/dumbproxy", "-bind-address", ":8080"]