You've already forked AstralRinth
forked from didirus/AstralRinth
Fix forge syncing not working
This commit is contained in:
22
Dockerfile
22
Dockerfile
@@ -1,7 +1,21 @@
|
||||
FROM rust:1.68.2
|
||||
|
||||
COPY ./ ./
|
||||
FROM rust:1.68.2 as build
|
||||
ENV PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
WORKDIR /usr/src/daedalus
|
||||
COPY . .
|
||||
RUN cargo build --release
|
||||
|
||||
CMD ["./target/release/daedalus_client"]
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN update-ca-certificates
|
||||
|
||||
COPY --from=build /usr/src/daedalus/target/release/daedalus_client /daedalus/daedalus_client
|
||||
WORKDIR /daedalus_client
|
||||
|
||||
CMD /daedalus/daedalus_client
|
||||
|
||||
Reference in New Issue
Block a user