Merge pull request #61 from PeterDaveHelloKitchen/OptimizeDockerfile

This commit is contained in:
Aram 🍐 2024-04-07 20:38:08 -04:00 committed by GitHub
commit e25c88410e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,8 +15,9 @@ COPY . .
RUN cargo build --release
FROM debian:11-slim
RUN apt-get update
RUN apt-get install dumb-init -y
RUN apt-get update \
&& apt-get install dumb-init -y \
&& rm -rf /var/lib/apt/lists/*
COPY --from=cargo-build /usr/src/onetun/target/release/onetun /usr/local/bin/onetun