torrust-actix 4.1.2

A rich, fast and efficient Bittorrent Tracker.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM rust:alpine

RUN apk update --no-interactive
RUN apk add git musl-dev curl pkgconfig openssl-dev openssl-libs-static --no-interactive
RUN git clone https://github.com/Power2All/torrust-actix.git /app/torrust-actix
RUN cd /app/torrust-actix && git checkout tags/v4.1.1
WORKDIR /app/torrust-actix
RUN cd /app/torrust-actix
RUN cargo build --release && rm -Rf target/release/.fingerprint target/release/build target/release/deps target/release/examples target/release/incremental
COPY init.sh /app/torrust-actix/target/release/init.sh
COPY healthcheck.py /app/torrust-actix/healthcheck
RUN chmod +x /app/torrust-actix/target/release/init.sh
RUN chmod +x /app/torrust-actix/healthcheck
EXPOSE 8080/tcp
EXPOSE 6969/tcp
EXPOSE 6969/udp
CMD /app/torrust-actix/target/release/init.sh
HEALTHCHECK CMD /app/torrust-actix/healthcheck || exit 1