Fix Dockerfile
Some checks failed
Deploy to VPS / deploy (push) Failing after 58s

This commit is contained in:
2025-11-06 19:44:38 +01:00
parent c0688ca363
commit fb52e0ad83

View File

@@ -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"]