iproxy 0.2.0

Proxy server for IP geolocation. Use external services to get the geolocation of an IP address.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM docker.io/rust:1.80-bullseye as build

WORKDIR /app
COPY . /app

RUN cargo build --release

FROM gcr.io/distroless/cc-debian12

WORKDIR /app
COPY --from=build /app/target/release/iproxy /app/iproxy

EXPOSE 8000
CMD ["./iproxy"]