summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile12
1 files changed, 7 insertions, 5 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 67662c3..8525d7c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,12 +1,14 @@
# composer install
-FROM liuchong/rustup:nightly as build
-COPY ./ /app/
-WORKDIR /app
-RUN cargo build --release
+#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 ./
+#COPY --from=build /app/target/release/spotify_intersect ./
+RUN apt-get update && apt-get -y install libssl-dev
+COPY ./target/release/spotify_intersect ./
COPY .env /srv/spotify_intersect/.env
CMD ./spotify_intersect