mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-09 06:18:31 -04:00
Merge pull request #61 from PeterDaveHelloKitchen/OptimizeDockerfile
This commit is contained in:
commit
e25c88410e
1 changed files with 3 additions and 2 deletions
|
@ -15,8 +15,9 @@ COPY . .
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
FROM debian:11-slim
|
FROM debian:11-slim
|
||||||
RUN apt-get update
|
RUN apt-get update \
|
||||||
RUN apt-get install dumb-init -y
|
&& 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
|
COPY --from=cargo-build /usr/src/onetun/target/release/onetun /usr/local/bin/onetun
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue