infrastructure/app/im/build/riotweb/Dockerfile

14 lines
386 B
Text
Raw Permalink Normal View History

2020-06-02 10:26:41 +00:00
FROM amd64/debian:buster as builder
2019-06-01 14:02:49 +00:00
2020-06-02 10:26:41 +00:00
ARG VERSION
2019-06-01 14:02:49 +00:00
WORKDIR /root
RUN apt-get update && \
apt-get install -y wget && \
2021-01-13 18:17:28 +00:00
wget https://github.com/vector-im/element-web/releases/download/v${VERSION}/element-v${VERSION}.tar.gz && \
tar xf element-v${VERSION}.tar.gz && \
mv element-v${VERSION}/ riot/
2019-06-01 14:02:49 +00:00
FROM superboum/amd64_webserver:v3
COPY --from=builder /root/riot /srv/http