diff options
Diffstat (limited to 'docker/noria/Dockerfile')
-rw-r--r-- | docker/noria/Dockerfile | 14 |
1 files changed, 14 insertions, 0 deletions
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 |