Dockerfile 369 B

1234567891011
  1. FROM nginx:alpine
  2. WORKDIR /usr/share/nginx/html
  3. RUN apk add --no-cache curl
  4. ARG RIOT_VERSION
  5. RUN curl -sSL https://github.com/vector-im/riot-web/releases/download/$RIOT_VERSION/riot-$RIOT_VERSION.tar.gz \
  6. | tar -xz --strip-components=1
  7. ARG SYNAPSE_SERVER_NAME
  8. RUN sed "/default_hs_url/s=https://matrix.org=//$SYNAPSE_SERVER_NAME=" config.sample.json > config.json