Files
sunnypilot/Dockerfile.openpilot
Kacper Rączy 151b4530dd Fix openpilot-prebuilt dockerfile (#32787)
* Manually add symlinks to prevent docker for copying duplicate files

* Copy everything
2024-06-18 17:28:52 -07:00

14 lines
281 B
Docker

FROM ghcr.io/commaai/openpilot-base:latest
ENV PYTHONUNBUFFERED 1
ENV OPENPILOT_PATH /home/batman/openpilot
ENV PYTHONPATH ${OPENPILOT_PATH}:${PYTHONPATH}
RUN mkdir -p ${OPENPILOT_PATH}
WORKDIR ${OPENPILOT_PATH}
COPY . ${OPENPILOT_PATH}/
RUN scons --cache-readonly -j$(nproc)