You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
464 B

FROM rustlang/rust:nightly
WORKDIR /usr/src
RUN apt-get update
RUN git clone https://code.basabuuka.org/xsiva/rocket-3d.git
RUN cargo install --path ./rocket-3d
WORKDIR /usr/src/rocket-3d
COPY Rocket.toml /usr/src/rocket-3d/Rocket.toml
COPY .env /usr/src/rocket-3d/.env
RUN cargo install cargo-watch
# RUN cargo install diesel_cli --no-default-features --features "mysql"
# RUN diesel setup
CMD ROCKET_ENV=debug cargo watch -x 'run --bin rocket-3d'