add base
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM rust:slim-bullseye AS builder
|
||||
|
||||
COPY . /app/builder/
|
||||
|
||||
WORKDIR /app/builder/
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
COPY --from=builder /app/builder/target/release/ /app/
|
||||
WORKDIR /app/
|
||||
|
||||
CMD ["./twatch"]
|
Reference in New Issue
Block a user