File tree Expand file tree Collapse file tree 6 files changed +34
-16
lines changed Expand file tree Collapse file tree 6 files changed +34
-16
lines changed Original file line number Diff line number Diff line change 11FROM rust:slim-bullseye AS builder
22WORKDIR /app
3- RUN apt-get update && apt-get install -y pkg-config libssl-dev make
3+ RUN apt-get update && apt-get install -y pkg-config libssl-dev make g++
44COPY . /app
55RUN cargo build --release
66
77FROM debian:bullseye-slim
88WORKDIR /app
9+ RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
910COPY --from=builder /app/target/release/vrf-oracle /app/vrf-oracle
1011ENV RUST_LOG=info
1112CMD ["./vrf-oracle" ]
Original file line number Diff line number Diff line change 1+ app = ' vrf-oracle-devnet-grpc'
2+ primary_region = ' nrt'
3+
4+ [build ]
5+
6+ [http_service ]
7+ internal_port = 8080
8+ auto_stop_machines = ' off'
9+ auto_start_machines = true
10+ min_machines_running = 1
11+ processes = [' app' ]
12+
13+ [[vm ]]
14+ memory = ' 2gb'
15+ cpu_kind = ' shared'
16+ cpus = 2
Original file line number Diff line number Diff line change 1- # fly.toml app configuration file generated for vrf-oracle-devnet on 2025-03-26T18:16:09+01:00
2- #
3- # See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4- #
5-
61app = ' vrf-oracle-devnet'
72primary_region = ' nrt'
83
Original file line number Diff line number Diff line change 1- # fly.toml app configuration file generated for vrf-oracle-ephemeral on 2025-04-23T12:19:30+02:00
2- #
3- # See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4- #
5-
61app = ' vrf-oracle-ephemeral'
72primary_region = ' nrt'
83
Original file line number Diff line number Diff line change 1+ app = ' vrf-oracle-mainnet-grpc'
2+ primary_region = ' nrt'
3+
4+ [build ]
5+
6+ [http_service ]
7+ internal_port = 8080
8+ auto_stop_machines = ' off'
9+ auto_start_machines = true
10+ min_machines_running = 1
11+ processes = [' app' ]
12+
13+ [[vm ]]
14+ memory = ' 2gb'
15+ cpu_kind = ' shared'
16+ cpus = 2
Original file line number Diff line number Diff line change 1- # fly.toml app configuration file generated for vrf-oracle-devnet on 2025-03-26T18:16:09+01:00
2- #
3- # See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4- #
5-
61app = ' vrf-oracle-mainnet'
72primary_region = ' nrt'
83
You can’t perform that action at this time.
0 commit comments