mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: docker improvements (#825)
This commit is contained in:
4
.dockerignore
Normal file
4
.dockerignore
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
/target
|
||||||
|
/book
|
||||||
|
/assets
|
||||||
|
/.github
|
||||||
@ -12,7 +12,7 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y libclang-dev pkg-
|
|||||||
COPY . reth
|
COPY . reth
|
||||||
|
|
||||||
# Build reth
|
# Build reth
|
||||||
RUN cd reth && cargo build --all --profile release
|
RUN cd reth && cargo build --all --locked --profile $BUILD_PROFILE
|
||||||
|
|
||||||
# Use alpine as the release image
|
# Use alpine as the release image
|
||||||
FROM frolvlad/alpine-glibc
|
FROM frolvlad/alpine-glibc
|
||||||
|
|||||||
Reference in New Issue
Block a user