member_gateway_rpc/Dockerfile

23 lines
701 B
Docker
Raw Permalink Normal View History

2018-04-11 08:33:23 +00:00
FROM alpine:3.7
# grab su-exec for easy step-down from root
RUN apk add --no-cache curl
COPY _docker/config/* /etc/overflow/config/
COPY _docker/bin/* /usr/local/overflow/bin/
2018-04-13 06:29:15 +00:00
COPY dist/member_gateway_rpc /usr/local/overflow/bin/
2018-04-11 08:33:23 +00:00
2018-06-14 07:16:04 +00:00
RUN mkdir -p /var/overflow/logs; \
2018-04-11 08:33:23 +00:00
chmod +x /usr/local/overflow/bin/docker-entrypoint.sh /usr/local/overflow/bin/member_gateway_rpc;
ENV TINI_VERSION='0.17.0'
# Use tini as subreaper in Docker container to adopt zombie processes
RUN curl -fsSL https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini-static-amd64 -o /bin/tini && chmod +x /bin/tini
EXPOSE 80
ENTRYPOINT ["/bin/tini", "--"]
CMD ["/usr/local/overflow/bin/docker-entrypoint.sh"]