From fb52e0ad83971f26fb3b7494a3d6495ce330e961 Mon Sep 17 00:00:00 2001 From: dcorral Date: Thu, 6 Nov 2025 19:44:38 +0100 Subject: [PATCH] Fix Dockerfile --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 27799d4..f309da4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,8 @@ RUN apk add --no-cache curl && \ ENV PATH="/root/.cargo/bin:$PATH" -COPY Cargo.toml /Cargo.toml -COPY main.rs /main.rs -RUN cd / && cargo build --release && mkdir -p /app && cp /target/release/ssh-tui /app/tui +COPY . /app +RUN cd /app && cargo build --release && cp /target/release/ssh-tui /app/tui EXPOSE 22 CMD ["/usr/local/bin/sshserver"]