use rust 1.67 and enable postgres

This commit is contained in:
aniketfuryrocks 2023-01-31 19:20:17 +05:30
parent c4ed60392f
commit 2c392f5262
No known key found for this signature in database
GPG Key ID: FA6BFCFAA7D4B764
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# 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 rustup component add rustfmt
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
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