Commit 5eb2b9cd authored by Mike Cronce's avatar Mike Cronce

+ Dockerfile

parent ba6152d0
FROM rustlang/rust:nightly AS builder
ADD influxdb-config /repo/influxdb-config
ADD lodestone /repo/lodestone
ADD Cargo.toml /repo/
ADD src /repo/src
WORKDIR /repo
ARG DATABASE_URL
RUN cargo build --release
FROM fedora:32
COPY --from=builder /repo/target/release/ffxiv-poller /usr/local/bin/
ENV INFLUXDB_HOST=influxdb
ENV INFLUXDB_PORT=8086
ENV INFLUXDB_USE_TLS=false
ENV INFLUXDB_USERNAME=
ENV INFLUXDB_PASSWORD=
ENV INFLUXDB_DATABASE=influxdb
ENV LODESTONE_CHARACTER_ID=
ENTRYPOINT ["/usr/local/bin/ffxiv-poller"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment