This commit is contained in:
Evann Regnault 2023-06-26 13:56:58 +02:00
parent 7a51d9acd1
commit e2fe22e333
2 changed files with 4 additions and 2 deletions

2
.dockerignore Normal file
View file

@ -0,0 +1,2 @@
.github
target

View file

@ -17,5 +17,5 @@ RUN cargo build --release --bin obsessed-yanqing
FROM alpine:latest
RUN apk add --no-cache libc6-compat
COPY --from=builder /app/target/release/obsessed-yanqing /usr/local/bin
ENTRYPOINT [ "/usr/local/bin/obsessed-yanqing" ]
COPY --from=builder /app/target/release/obsessed-yanqing .
CMD ["./obsessed-yanqing"]