Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Jul 2, 2024
1 parent 619473c commit 7e7c69d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ RUN ldconfig
COPY ./or-tools/src ./src
RUN curl -L https://github.com/google/or-tools/releases/download/v9.10/or-tools_amd64_debian-11_cpp_v9.10.4067.tar.gz -o ortools.tar.gz
RUN cat ortools.tar.gz | tar -xzf - && \
mv or-tools_* source && \
cd source && \
mv or-tools_* or-tools && \
cd or-tools && \
mv /src/tsp/ ./examples/koji_tsp && \
make build SOURCE=examples/koji_tsp/koji_tsp.cc && \
mv ./examples/koji_tsp/build/bin/koji_tsp /algorithms/src/routing/plugins/tsp

FROM debian:bullseye-slim
FROM debian:bullseye-slim as runner
COPY --from=or-tools /algorithms .
COPY --from=or-tools /source .
COPY --from=or-tools /or-tools .
COPY --from=client /app/dist ./dist
COPY --from=server /usr/local/cargo/bin/koji /usr/local/bin/koji

Expand Down

0 comments on commit 7e7c69d

Please sign in to comment.