diff options
author | Dennis Kobert <dennis@kobert.dev> | 2020-01-30 19:01:17 +0000 |
---|---|---|
committer | Dennis Kobert <dennis@kobert.dev> | 2020-01-30 19:01:17 +0000 |
commit | 1ba3be90a6ef1d196c6ad45df79ee22608be0b04 (patch) | |
tree | c61eed64e70badf40d70ac0bc7623922b2b5cb7a /docker/noria/Dockerfile | |
parent | 4b30c13b849ef72c8d31dfa6e42fce6fcd7eac52 (diff) |
Fix docker setup
Diffstat (limited to 'docker/noria/Dockerfile')
-rw-r--r-- | docker/noria/Dockerfile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docker/noria/Dockerfile b/docker/noria/Dockerfile index 67a8c8b..10b7145 100644 --- a/docker/noria/Dockerfile +++ b/docker/noria/Dockerfile @@ -2,13 +2,13 @@ FROM liuchong/rustup:nightly as build WORKDIR /app RUN apt-get update -RUN apt-get -y install git +RUN apt-get -y install git clang libclang-dev libssl-dev liblz4-dev RUN git clone https://github.com/mit-pdos/noria /app -RUN cargo build --release --bin noria-server +RUN cargo build --release --bin noria-server +#RUN file target/release/noria/server -FROM alpine as spotify_intersect +FROM debian 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 +COPY --from=build /app/target/release/noria-server /usr/bin +CMD noria-server --deployment track_db --no-reuse -z zookeeper:2181 |