zwallet/docker/Dockerfile-linux

16 lines
387 B
Plaintext
Executable File

#syntax=docker/dockerfile:1.2
FROM hhanh00/zwallet_builder_linux AS builder
ENV PATH $PATH:/flutter/bin:/root/.cargo/bin
COPY . /zwallet
RUN cd /zwallet && ./build-linux.sh
RUN cd /zwallet/build/linux/x64/release/bundle && tar cvzf /zwallet.tgz *
FROM alpine:latest
WORKDIR /root
COPY --from=builder /zwallet.tgz ./
COPY --from=builder /zwallet/target/release/libwarp_api_ffi.so ./