mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-21 20:11:15 +00:00
c30fd4f67d
Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
416 B
Docker
21 lines
416 B
Docker
FROM python:3.12-slim-bookworm
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
WORKDIR /app
|
|
|
|
RUN groupadd --system gpsd && useradd --system --gid gpsd --home-dir /app gpsd
|
|
|
|
COPY pyproject.toml README.md ./
|
|
COPY src ./src
|
|
COPY tests ./tests
|
|
COPY e2e ./e2e
|
|
|
|
RUN python -m pip install --no-cache-dir --upgrade pip \
|
|
&& python -m pip install --no-cache-dir ".[dev]"
|
|
|
|
USER gpsd
|
|
|
|
CMD ["python", "-m", "pytest"]
|