Remove ENV to avoid confusion

This commit is contained in:
Kegsay 2020-06-02 16:35:07 +01:00 committed by GitHub
parent e598e80d76
commit dc3338d1f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,11 +3,6 @@
# as it pulls archives straight from github branches. # as it pulls archives straight from github branches.
FROM golang:1.13.7-alpine3.11 AS gobuild FROM golang:1.13.7-alpine3.11 AS gobuild
# TODO: This does nothing currently ;)
# or /dns4/rendezvous.matrix.org/tcp/8443/wss/p2p-websocket-star/
# or whatever you want!
ENV RENDEZVOUS_SERVER=/ip4/127.0.0.1/tcp/9090/ws/p2p-websocket-star/
# Download and build dendrite # Download and build dendrite
WORKDIR /build WORKDIR /build
ADD https://github.com/matrix-org/dendrite/archive/master.tar.gz /build/master.tar.gz ADD https://github.com/matrix-org/dendrite/archive/master.tar.gz /build/master.tar.gz
@ -109,4 +104,4 @@ server { \n\
} \n\ } \n\
}' > /etc/nginx/conf.d/default.conf }' > /etc/nginx/conf.d/default.conf
RUN sed -i 's/}/ application\/wasm wasm;\n}/g' /etc/nginx/mime.types RUN sed -i 's/}/ application\/wasm wasm;\n}/g' /etc/nginx/mime.types
COPY --from=jsbuild /build/riot-web-matthew-p2p/webapp /usr/share/nginx/html COPY --from=jsbuild /build/riot-web-matthew-p2p/webapp /usr/share/nginx/html