From 4178133312c1c308eb3e73c6c15ec7877368d64f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=9CM=C3=9C=C5=9E?= <96421894+Tahinli@users.noreply.github.com> Date: Sat, 1 Jun 2024 01:49:48 +0300 Subject: [PATCH] ci: :construction_worker: Containerize --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6c01063 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM linuxcontainers/debian-slim:latest + +#COPY Cargo.toml ./ +#COPY src ./src +COPY target/release/acapair_chat_api . +#RUN apk add --no-cache musl-dev curl gcc +# RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +# ENV PATH="/root/.cargo/bin:${PATH}" +# RUN cargo build --release +# RUN cp /target/release/acapair_chat_api . +# RUN cargo clean +# RUN rustup self uninstall -y +# RUN apk del musl-dev curl gcc +# RUN rm Cargo.lock +CMD [ "./acapair_chat_api"] \ No newline at end of file