You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Use an official Rust nightly compiler as a parent image
FROM archlinux/base
RUN pacman -Sy --noconfirm rustup cmake gcc make intel-tbb; \
rustup install nightly; \
rustup default nightly;
# Set the working directory to /app
WORKDIR /app
# Copy the current directory contents into the container at /app
ADD . /app
# Build flow cutter
RUN mkdir -p lib/InertialFlowCutter/build/ && cd lib/InertialFlowCutter/build/ && cmake -DCMAKE_BUILD_TYPE=Release -DUSE_KAHIP=OFF .. && make console && cd ../../..
# Install any needed dependencies and compile
RUN cargo build --release -p rust_road_router --bin import_here
RUN cargo build --release -p server --bin server
# Make port 80 available to the world outside this container