mirror of
https://github.com/foomo/neosproxy.git
synced 2026-11-30 00:31:46 +00:00
17 lines
513 B
Docker
17 lines
513 B
Docker
FROM scratch
|
|
|
|
ENV API_KEY "UeTyV6zVCuWaP4gT6A7DTEMFMH2zexNWiv4WBKx2mE8jcET74X"
|
|
|
|
COPY bin/neosproxy-linux-amd64 /usr/sbin/neosproxy
|
|
|
|
# install ca root certificates for outgoing https calls
|
|
# 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
|
|
COPY files/cacert.pem /etc/ssl/certs/ca-certificates.crt
|
|
|
|
COPY files/tmp /tmp
|
|
|
|
EXPOSE 80
|
|
|
|
ENTRYPOINT ["/usr/sbin/neosproxy"] |