FROM rust:1.56.1
|
|
|
|
WORKDIR /usr/src
|
|
|
|
RUN apt-get update
|
|
|
|
RUN git clone https://code.basabuuka.org/xsiva/cannabinieri_web_actix.git
|
|
RUN apt-get install cargo -y
|
|
RUN cargo install --path ./cannabinieri_web_actix/
|
|
|
|
WORKDIR /usr/src/cannabinieri_web_actix
|
|
# RUN cargo install diesel_cli --no-default-features --features "mysql"
|
|
|
|
# RUN diesel setup
|
|
|
|
CMD cargo run
|