Add docker helper scripts.

This commit is contained in:
Paul Makles
2020-08-30 15:44:56 +01:00
parent 8bb1977025
commit ff0e539c7b
8 changed files with 235 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ RUN cargo build --release
# Bundle Stage
FROM scratch
COPY --from=builder /home/rust/src/revolt/target/x86_64-unknown-linux-musl/release/revolt .
COPY --from=builder /home/rust/src/revolt/target/x86_64-unknown-linux-musl/release/revolt ./
EXPOSE 8000
EXPOSE 9000
CMD ["./revolt"]