mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-21 15:41:12 +00:00
79997e39ac
Add the initial source, test, infrastructure, CI, configuration, and evidence-path scaffold so dependent implementation tasks have stable package and runtime boundaries. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
436 B
Docker
19 lines
436 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
|
|
|
|
RUN python -m pip install --no-cache-dir --upgrade pip \
|
|
&& python -m pip install --no-cache-dir .
|
|
|
|
USER gpsd
|
|
|
|
CMD ["python", "-c", "import shared.contracts; print('gps-denied runtime scaffold ready')"]
|