add jetsons dockerile
parent
42445e9865
commit
9f10f67839
|
@ -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
|
||||
|
|
|
@ -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"]
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue