mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-23 00:18:04 +00:00
b665555de6
* working backend on docker refactor of the dockerfiles to be more readable and independent. full build of the backend (release only) within docker * read `PORT` to u16 * Only need one `PORT` in the new backend Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
11 lines
126 B
Docker
11 lines
126 B
Docker
FROM rust
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./backend .
|
|
|
|
RUN cargo build --release
|
|
|
|
EXPOSE 8000
|
|
|
|
ENTRYPOINT [ "./target/release/telemetry" ] |