use rust 1.67 and enable postgres
This commit is contained in:
parent
c4ed60392f
commit
2c392f5262
|
@ -1,5 +1,5 @@
|
||||||
# syntax = docker/dockerfile:1.2
|
# syntax = docker/dockerfile:1.2
|
||||||
FROM rust:1.65.0 as base
|
FROM rust:1.67.0 as base
|
||||||
RUN cargo install cargo-chef
|
RUN cargo install cargo-chef
|
||||||
RUN rustup component add rustfmt
|
RUN rustup component add rustfmt
|
||||||
RUN apt-get update && apt-get install -y clang cmake ssh
|
RUN apt-get update && apt-get install -y clang cmake ssh
|
||||||
|
@ -20,4 +20,4 @@ FROM debian:bullseye-slim as run
|
||||||
RUN apt-get update && apt-get -y install ca-certificates libc6
|
RUN apt-get update && apt-get -y install ca-certificates libc6
|
||||||
COPY --from=build /app/target/release/lite-rpc /usr/local/bin/
|
COPY --from=build /app/target/release/lite-rpc /usr/local/bin/
|
||||||
|
|
||||||
CMD lite-rpc --rpc-addr "$RPC_URL" --ws-addr "$WS_URL"
|
CMD lite-rpc --rpc-addr "$RPC_URL" --ws-addr "$WS_URL" -p
|
||||||
|
|
Loading…
Reference in New Issue