Updated dockerfile
This commit is contained in:
parent
02e2451a90
commit
4f138b0282
@ -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"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user