Updated dockerfile

This commit is contained in:
Artur 2025-07-12 12:34:42 +03:00
parent 02e2451a90
commit 4f138b0282

View File

@ -19,13 +19,14 @@ RUN apt-get update && \
# Set environment variables for OpenGL
ENV NVIDIA_DRIVER_CAPABILITIES $NVIDIA_DRIVER_CAPABILITIES,video
ENV DISPLAY :0
ENV FILENAME=nvdummy.sh
# Copy your pipeline script
COPY nv4l2gst.sh /app/
RUN chmod +x /app/nv4l2gst.sh
COPY $FILENAME /app/
RUN chmod +x /app/$FILENAME
# Set working directory
WORKDIR /app
# Default command to run your pipeline
CMD ["./nv4l2gst.sh"]
CMD ["./nvdummy.sh"]
#CMD ["nvidia-smi"]