Merge pull request #599 from nopdotcom/docker-ca-certs

Docker: add ca-certificates to runtime
This commit is contained in:
Zed 2022-05-10 14:09:13 +02:00 committed by GitHub
commit 3e7898ecb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ RUN nimble build -d:danger -d:lto -d:strip \
FROM alpine:latest FROM alpine:latest
WORKDIR /src/ WORKDIR /src/
RUN apk --no-cache add pcre RUN apk --no-cache add pcre ca-certificates
COPY --from=nim /src/nitter/nitter ./ COPY --from=nim /src/nitter/nitter ./
COPY --from=nim /src/nitter/nitter.example.conf ./nitter.conf COPY --from=nim /src/nitter/nitter.example.conf ./nitter.conf
COPY --from=nim /src/nitter/public ./public COPY --from=nim /src/nitter/public ./public