This commit is contained in:
@@ -8,9 +8,8 @@ RUN apk add --no-cache curl && \
|
|||||||
|
|
||||||
ENV PATH="/root/.cargo/bin:$PATH"
|
ENV PATH="/root/.cargo/bin:$PATH"
|
||||||
|
|
||||||
COPY Cargo.toml /Cargo.toml
|
COPY . /app
|
||||||
COPY main.rs /main.rs
|
RUN cd /app && cargo build --release && cp /target/release/ssh-tui /app/tui
|
||||||
RUN cd / && cargo build --release && mkdir -p /app && cp /target/release/ssh-tui /app/tui
|
|
||||||
|
|
||||||
EXPOSE 22
|
EXPOSE 22
|
||||||
CMD ["/usr/local/bin/sshserver"]
|
CMD ["/usr/local/bin/sshserver"]
|
||||||
|
|||||||
Reference in New Issue
Block a user