diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..7caa9a4 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.github +target \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 092f943..d16183a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] \ No newline at end of file +COPY --from=builder /app/target/release/obsessed-yanqing . +CMD ["./obsessed-yanqing"] \ No newline at end of file