mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-19 05:24:10 +08:00
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)
|