add jetsons dockerile

pull/13321/head
Artjom Kurapov 2024-08-15 18:17:23 +03:00
parent 42445e9865
commit 9f10f67839
3 changed files with 22 additions and 5 deletions

View File

@ -1,5 +1,5 @@
FROM dustynv/l4t-pytorch:r36.2.0
# FROM ubuntu:22.04
# FROM dustynv/l4t-pytorch:r36.2.0
FROM ubuntu:22.04
ENV NODE_VERSION=16.16.0
RUN apt-get update && apt-get install -y curl python3 pip ffmpeg libsm6 libxext6
@ -9,7 +9,7 @@ WORKDIR /app
USER root
COPY . /app/
RUN cd /app && pip install -r requirements.jetson.txt
RUN cd /app && pip install -r requirements.txt
RUN ls /app/weights
EXPOSE 8700

17
Dockerfile.jetson 100644
View File

@ -0,0 +1,17 @@
FROM dustynv/l4t-pytorch:r36.2.0
# FROM ubuntu:22.04
ENV NODE_VERSION=16.16.0
RUN apt-get update && apt-get install -y curl python3 pip ffmpeg libsm6 libxext6
# ensure all directories exist
WORKDIR /app
USER root
COPY . /app/
RUN cd /app && pip install -r requirements.jetson.txt
RUN ls /app/weights
EXPOSE 8700
# CMD ["python3", "/app/server.py"]

View File

@ -2,11 +2,11 @@
# Usage: pip install -r requirements.txt
# Base ------------------------------------------------------------------------
gitpython
#gitpython
ipython # interactive notebook
matplotlib>=3.2.2
numpy>=1.18.5
opencv-python>=4.1.1
opencv-python
Pillow>=7.1.2
psutil # system resources
PyYAML>=5.3.1