-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile.edge
More file actions
30 lines (24 loc) · 970 Bytes
/
Copy pathDockerfile.edge
File metadata and controls
30 lines (24 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Multi-Stage NVIDIA L4T TensorRT Runtime for Jetson AGX Orin
FROM nvcr.io/nvidia/l4t-tensorrt:r10.0.0-runtime AS base
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
RUN apt-get update && apt-get install -y --no-install-recommends \
python3-pip \
python3-dev \
libgl1 \
libglib2.0-0 \
libgstreamer1.0-0 \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
libgeos-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /opt/sentinelzone
COPY pyproject.toml .
RUN pip3 install --no-cache-dir --upgrade pip && \
pip3 install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cu121 && \
pip3 install --no-cache-dir torch_geometric && \
pip3 install --no-cache-dir opencv-python pydantic paho-mqtt shapely fastapi uvicorn pandas
COPY src/ /opt/sentinelzone/src/
COPY config/ /opt/sentinelzone/config/
ENTRYPOINT ["python3", "-m", "src.edge.edge_runtime"]