Files
pezkuwi-subxt/polkadot/bridges/deployments/monitoring/GrafanaMatrix.Dockerfile
T
Denis Pisarev 3800575db4 dockerfiles: upgrade to ubuntu:20.04; some chore (#3828)
* dockerfiles: upgrade to ubuntu:20.04; some chore

* dockerfiles: fq container names
2021-09-13 14:34:29 +02:00

19 lines
583 B
Docker

FROM docker.io/library/ruby:alpine
RUN apk add --no-cache git
ENV APP_HOME /app
ENV RACK_ENV production
RUN mkdir $APP_HOME
WORKDIR $APP_HOME
# The latest master has some changes in how the application is run. We don't
# want to update just yet so we're pinning to an old commit.
RUN git clone https://github.com/ananace/ruby-grafana-matrix.git $APP_HOME
RUN git checkout 0d662b29633d16176291d11a2d85ba5107cf7de3
RUN bundle install --without development
RUN mkdir /config && touch /config/config.yml && ln -s /config/config.yml ./config.yml
CMD ["bundle", "exec", "bin/server"]