so://phie

verbal

A mobile app for listening to radio stations from around the globe
git clone git://soophie.de/verbal

blob: 2428b697c390bdc8c3dc10709bcefc4439b13fdd (419 bytes)[doc][blame][raw]

1FROM rust:latest as builder

2WORKDIR /home/andreas/git/verbal

3

4RUN cargo init

5

6COPY ./Cargo.toml ./Cargo.toml

7

8RUN cargo build --release

9RUN rm ./src/*.rs

10

11COPY ./src ./src

12

13RUN rm ./target/release/deps/verbal*

14RUN cargo build --release

15

16COPY ./app ./app

17COPY ./www ./www

18COPY ./tailwind.config.js ./tailwind.config.js

19

20ARG VERSION

21

22COPY ./script ./script

23RUN ./script/build --mode=prod

24

25CMD ["./target/release/verbal"]