We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24ccd1d commit 4fdc615Copy full SHA for 4fdc615
Dockerfile
@@ -0,0 +1,16 @@
1
+FROM rust:1.71 AS builder
2
+WORKDIR /app
3
+COPY . .
4
+
5
+RUN cargo build --release
6
7
+FROM ubuntu:latest
8
+RUN apt-get update && apt-get install -y libssl-dev pkg-config wget
9
+RUN wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
10
+RUN dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
11
+RUN apt-get install -y ca-certificates
12
13
14
+COPY --from=builder /app/target/release/server-bin /usr/local/bin/server
15
+ENTRYPOINT ["/usr/local/bin/server"]
16
0 commit comments