mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 16:33:57 +08:00
* docker: Dockerfile.sunnypilot uv run scons * docker: Dockerfile.sunnypilot: don't set UV_PROJECT_ENVIRONMENT
15 lines
344 B
Docker
15 lines
344 B
Docker
FROM ghcr.io/sunnypilot/sunnypilot-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_PROJECT_ENVIRONMENT=$VIRTUAL_ENV uv run scons --cache-readonly -j$(nproc)
|