13 lines
236 B
Docker
13 lines
236 B
Docker
|
FROM golang:1.9.3-stretch as ca-certs
|
||
|
FROM scratch
|
||
|
|
||
|
COPY --from=ca-certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||
|
|
||
|
WORKDIR /
|
||
|
|
||
|
EXPOSE 3001
|
||
|
|
||
|
ENTRYPOINT ["/mg-telegram", "--config", "/config.yml"]
|
||
|
|
||
|
CMD ["run"]
|