add project files
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
FROM rustlang/rust:nightly as builder
|
||||
WORKDIR /root
|
||||
COPY . /root
|
||||
RUN cargo build --release
|
||||
|
||||
FROM ubuntu
|
||||
EXPOSE 53/udp
|
||||
WORKDIR /root
|
||||
COPY --from=builder ./root/target/release/updns .
|
||||
CMD ["./updns"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user