From 26eb6b2c3f1f0850c3c5234b1faf6e2d09b28111 Mon Sep 17 00:00:00 2001 From: miam-miam Date: Fri, 5 Apr 2024 18:05:48 +0100 Subject: [PATCH] Remove old docker commands --- Dockerfile | 40 +--------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49cf5d1..9a3af21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,42 +22,4 @@ COPY --from=builder /verify-bot/target/release/verify-bot /usr/local/bin # Install dependencies needed for verify-bot RUN apt-get update && apt-get -y install libssl-dev openssl ca-certificates tzdata && apt upgrade -y openssl && apt clean && rm -rf /var/lib/apt/lists/* -ENTRYPOINT ["/usr/local/bin/verify-bot"] - -# -#FROM rust:1.76-buster as build -# -#RUN apt-get update && apt-get -y install libssl-dev openssl ca-certificates tzdata && apt upgrade -y openssl && apt clean && rm -rf /var/lib/apt/lists/* -# -## create a new empty shell project -#RUN USER=root cargo new --bin verify-bot -#WORKDIR /verify-bot -# -## copy over your manifests -#COPY ./Cargo.lock ./Cargo.lock -#COPY ./Cargo.toml ./Cargo.toml -# -## this build step will cache your dependencies -#RUN cargo build --release -#RUN rm src/*.rs -# -## copy your source tree -#COPY ./src ./src -#COPY ./log4rs.yml ./log4rs.yml -# -## build for release -#RUN rm ./target/release/deps/verify_bot* -#RUN cargo build --release -# -## our final base -#FROM debian:buster -# -#RUN apt-get update && apt-get -y install libssl-dev openssl ca-certificates tzdata && apt upgrade -y openssl && apt clean && rm -rf /var/lib/apt/lists/* -# -## copy the build artifact from the build stage -#COPY --from=build /verify-bot/target/release/verify-bot . -# -## set the startup command to run your binary -#CMD ["./verify-bot"] -# -# +ENTRYPOINT ["/usr/local/bin/verify-bot"] \ No newline at end of file