diff --git a/Dockerfile.dev b/Dockerfile.dev index ca496a9e7..573d1f19b 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -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 diff --git a/Dockerfile.jetson b/Dockerfile.jetson new file mode 100644 index 000000000..ca496a9e7 --- /dev/null +++ b/Dockerfile.jetson @@ -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"] diff --git a/requirements.txt b/requirements.txt index a4ef109fd..94828705e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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