|
|
- 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'
-
-
|