build: 👷 Container
This commit is contained in:
parent
942e1c4698
commit
b28908ec56
7 changed files with 56 additions and 18 deletions
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
|||
FROM rust:1.77.2-alpine3.18
|
||||
COPY Cargo.toml ./
|
||||
COPY src ./src
|
||||
RUN apk update
|
||||
RUN apk add musl-dev
|
||||
RUN cargo build --release
|
||||
CMD [ "/target/release/acapair_follow_ban_api"]
|
Loading…
Add table
Add a link
Reference in a new issue