From 4b30c13b849ef72c8d31dfa6e42fce6fcd7eac52 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Thu, 30 Jan 2020 13:02:45 +0100 Subject: Add docker setup --- docker/noria/Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docker/noria/Dockerfile (limited to 'docker/noria') diff --git a/docker/noria/Dockerfile b/docker/noria/Dockerfile new file mode 100644 index 0000000..67a8c8b --- /dev/null +++ b/docker/noria/Dockerfile @@ -0,0 +1,14 @@ +# composer install +FROM liuchong/rustup:nightly as build +WORKDIR /app +RUN apt-get update +RUN apt-get -y install git +RUN git clone https://github.com/mit-pdos/noria /app +RUN cargo build --release --bin noria-server + + +FROM alpine as spotify_intersect +WORKDIR /srv/noria +COPY --from=build /app/target/release/noria /srv/noria +COPY .env /srv/spotify_intersect/.env +CMD ./noria --deployment track_db --no-reuse -- cgit v1.2.3-70-g09d2