Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Power2All authored Dec 22, 2022
1 parent 9dd55db commit 4fee8c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ ENV DB_STRUCTURE_DB_KEYS=$DB_STRUCTURE_DB_KEYS DB_STRUCTURE_TABLE_KEYS_HASH=$DB_

RUN apk add git musl-dev
RUN git clone https://github.com/Power2All/torrust-axum.git /root/torrust-axum
RUN cd /root/torrust-axum && git checkout tags/v3.1.1
RUN cd /root/torrust-axum && git checkout tags/v3.1.2
WORKDIR /root/torrust-axum
RUN cd /root/torrust-axum
RUN cargo build --release && rm -Rf target/release/.fingerprint target/release/build target/release/deps target/release/examples target/release/incremental
Expand All @@ -103,4 +103,4 @@ RUN chmod +x /root/torrust-axum/target/release/init.sh
EXPOSE 8080/tcp
EXPOSE 6969/tcp
EXPOSE 6969/udp
CMD cd /root/torrust-axum/target/release/ && ./init.sh && ./torrust-axum
CMD cd /root/torrust-axum/target/release/ && ./init.sh && ./torrust-axum

0 comments on commit 4fee8c1

Please sign in to comment.