Skip to content

Instantly share code, notes, and snippets.

@rlane
Last active October 18, 2023 03:59
Show Gist options
  • Save rlane/b9bcf95a96ba00c2109bc7de464ad315 to your computer and use it in GitHub Desktop.
Save rlane/b9bcf95a96ba00c2109bc7de464ad315 to your computer and use it in GitHub Desktop.
Oort dockerfile
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
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