better installation on pica standalone

This commit is contained in:
Blue 2023-12-10 20:33:23 -03:00
parent d516963219
commit 259d3b4a99
Signed by: blue
GPG Key ID: 9B203B252A63EE38

View File

@ -17,9 +17,11 @@ RUN tar -xvzf main.tar.gz && \
cd pica && \
mkdir build && \
cd build && \
cmake .. && \
cmake --build .
cmake .. -D CMAKE_INSTALL_PREFIX=/usr && \
cmake --build . && \
mkdir install && \
DESTDIR=install cmake --install .
FROM thebluestbird/pica-environment:latest
COPY --from=0 /pica/pica/build/pica /usr/bin/
COPY --from=0 /pica/pica/build/install /
CMD ["/usr/bin/pica"]