You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

23 lines
649 B

FROM ubuntu:19.10
RUN apt-get update && apt-get install -y build-essential
RUN apt-get install -y curl git
RUN useradd -m -d /home/wownero-explorer wownero-explorer
RUN mkdir -p /srv && chown -R wownero-explorer:wownero-explorer /srv
USER wownero-explorer
WORKDIR /srv
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | RUSTUP_HOME=/home/wownero-explorer/.rustup sh -s -- -y
RUN git clone https://git.wownero.com/lza_menace/wownero-explorer && \
cd wownero-explorer && \
~/.cargo/bin/rustup override set nightly && \
~/.cargo/bin/cargo build --release
WORKDIR /srv/wownero-explorer
CMD './target/release/wownero-explorer'