mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 04:13:54 +08:00
* Manually add symlinks to prevent docker for copying duplicate files
* Copy everything
old-commit-hash: 151b4530dd
14 lines
281 B
Docker
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)
|