diff options
author | Dennis Kobert <dennis@kobert.dev> | 2020-01-30 13:02:45 +0100 |
---|---|---|
committer | Dennis Kobert <dennis@kobert.dev> | 2020-01-30 13:02:45 +0100 |
commit | 4b30c13b849ef72c8d31dfa6e42fce6fcd7eac52 (patch) | |
tree | 1c10d4b377a5d4150eab74af541ae6c54e0f2fa4 /docker/noria/Dockerfile | |
parent | 600f0e6a847017ee46c67e885ffbe1acdcba1ded (diff) |
Add docker setup
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 |