mirror of
https://codeberg.org/icewind/tasproxy.git
synced 2026-06-03 18:24:08 +02:00
ci and docker
This commit is contained in:
parent
4a11d00024
commit
be9cfc287e
3 changed files with 57 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
FROM ekidd/rust-musl-builder AS build
|
||||
|
||||
ADD . ./
|
||||
RUN sudo chown -R rust:rust .
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM scratch
|
||||
|
||||
COPY --from=build /home/rust/src/target/x86_64-unknown-linux-musl/release/tasproxy /
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["/tasproxy"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue