|
|
@ -1,4 +1,4 @@
|
|
|
|
FROM ubuntu:19.10 as builder
|
|
|
|
FROM ubuntu:20.04 as builder
|
|
|
|
|
|
|
|
|
|
|
|
# Install required packages
|
|
|
|
# Install required packages
|
|
|
|
RUN apt-get update && apt-get install -y build-essential
|
|
|
|
RUN apt-get update && apt-get install -y build-essential
|
|
|
@ -26,7 +26,7 @@ RUN sed -i 's_dummy.rs_src/main.rs_' Cargo.toml
|
|
|
|
COPY src src
|
|
|
|
COPY src src
|
|
|
|
RUN ~/.cargo/bin/cargo build --release
|
|
|
|
RUN ~/.cargo/bin/cargo build --release
|
|
|
|
|
|
|
|
|
|
|
|
FROM ubuntu:19.10
|
|
|
|
FROM ubuntu:20.04
|
|
|
|
COPY --from=builder /srv/wownero-explorer/target/release/wownero-explorer /bin/wownero-explorer
|
|
|
|
COPY --from=builder /srv/wownero-explorer/target/release/wownero-explorer /bin/wownero-explorer
|
|
|
|
COPY static static
|
|
|
|
COPY static static
|
|
|
|
COPY templates templates
|
|
|
|
COPY templates templates
|
|
|
|