so://phie

verbal

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

blob: 80986ff3706d96a345de3ce05de890cda87c0759 (410 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 ./build ./build

23RUN ./build --mode=prod

24

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