# composer install #FROM liuchong/rustup:nightly as build #COPY ./ /app/ #WORKDIR /app #RUN cargo build --release FROM debian as spotify_intersect WORKDIR /srv/spotify_intersect #COPY --from=build /app/target/release/spotify_intersect ./ RUN apt-get update && apt-get -y install libssl-dev ca-certificates COPY ./target/release/spotify_intersect ./ COPY .env /srv/spotify_intersect/.env COPY Rocket.toml ./ CMD ./spotify_intersect