mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 17:43:54 +08:00
* Dockerfile.openpilot_base use UV_PROJECT_ENVIRONMENT * Revert "Dockerfile.openpilot_base use UV_PROJECT_ENVIRONMENT" This reverts commit 3725e54ce0727077ca4347d24ca38e25d5864d47. * Reapply "Dockerfile.openpilot_base use UV_PROJECT_ENVIRONMENT" This reverts commit 11b04f57acb9c81fcc5a22a6a6d78d666c59ca6c. * use uv run to pick up correct ppath
15 lines
304 B
Docker
15 lines
304 B
Docker
FROM ghcr.io/commaai/openpilot-base:latest
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
ENV OPENPILOT_PATH=/home/batman/openpilot
|
|
|
|
RUN mkdir -p ${OPENPILOT_PATH}
|
|
WORKDIR ${OPENPILOT_PATH}
|
|
|
|
COPY . ${OPENPILOT_PATH}/
|
|
|
|
ENV UV_BIN="/home/batman/.local/bin/"
|
|
ENV PATH="$UV_BIN:$PATH"
|
|
RUN uv run scons --cache-readonly -j$(nproc)
|