Last active
October 18, 2023 03:59
-
-
Save rlane/b9bcf95a96ba00c2109bc7de464ad315 to your computer and use it in GitHub Desktop.
Oort dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM rust:1.71.0-slim | |
WORKDIR /home | |
RUN apt-get update && \ | |
apt-get upgrade -y && \ | |
apt-get install -y git g++ | |
RUN cargo install trunk wasm-opt | |
RUN apt install -y pkg-config | |
RUN apt install -y openssl | |
RUN apt install -y libssl-dev | |
RUN git clone https://github.com/rlane/oort3.git | |
WORKDIR /home/oort3 | |
RUN cargo oort-serve --build-only | |
EXPOSE 8080 | |
CMD cargo oort-serve --listen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker build . -t oort | |
docker run -it -p 127.0.0.1:8080:8080/tcp -p 127.0.0.1:8081:8081/tcp oort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment