alpine docker file installs ca-certificates (for TLS)

This commit is contained in:
Benjamin Sergeant 2020-03-28 10:32:25 -07:00
parent 68c64f3f69
commit 3073dd3f06

View File

@ -20,6 +20,7 @@ RUN [ "rm", "-rf", "build" ]
FROM alpine:3.11 as runtime
RUN apk add --no-cache libstdc++ mbedtls
RUN apk add --no-cache ca-certificates
RUN addgroup -S app && adduser -S -G app app
COPY --chown=app:app --from=build /usr/local/bin/ws /usr/local/bin/ws