Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Jan 16, 2018
1 parent d48361e commit b6fae4e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM rust:1.23.0
WORKDIR /usr/src/myapp
COPY . .
RUN cargo build --release

FROM debian:latest
COPY --from=0 /usr/src/myapp/target/release/schani_thumbnailer /usr/local/bin
EXPOSE 8000
ENTRYPOINT ["/usr/local/bin/schani_thumbnailer"]

0 comments on commit b6fae4e

Please sign in to comment.