This commit is contained in:
rustdesk 2021-05-05 10:49:38 +08:00
commit a5e02a1daf
2 changed files with 11 additions and 0 deletions

4
Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM ubuntu:20.04
COPY target/release/hbbs /usr/bin/hbbs
COPY target/release/hbbr /usr/bin/hbbr
WORKDIR /root

7
push_docker Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
cargo build --release
strip target/release/hbbr
strip target/release/hbbs
sudo docker image build -t rustdesk/rustdesk-server .
#sudo docker login
sudo docker image push rustdesk/rustdesk-server:latest