mirror of
https://github.com/foomo/gofoomo.git
synced 2025-10-16 12:25:44 +00:00
13 lines
370 B
Docker
13 lines
370 B
Docker
FROM scratch
|
|
|
|
ENV FOOMO_BERT_MAIN_MODULE Foomo
|
|
|
|
COPY bin/foomo-bert-linux-amd64 /usr/sbin/foomo-bert
|
|
|
|
# install ca root certificates
|
|
# https://curl.haxx.se/docs/caextract.html
|
|
# http://blog.codeship.com/building-minimal-docker-containers-for-go-applications/
|
|
ADD https://curl.haxx.se/ca/cacert.pem /etc/ssl/certs/ca-certificates.crt
|
|
|
|
ENTRYPOINT ["/usr/sbin/foomo-bert"]
|