yolov5/Dockerfile.jetson

18 lines
353 B
Docker

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"]