Files
fake-cam/Dockerfile
2026-04-07 22:24:29 +02:00

16 lines
333 B
Docker

FROM nginx:alpine
# Installation de FFmpeg
RUN apk add --no-cache ffmpeg
# Configuration
COPY nginx.conf /etc/nginx/nginx.conf
copy .htpasswd /etc/nginx/.htpasswd
COPY index.html /usr/share/nginx/html/index.html
COPY stream.sh /stream.sh
RUN chmod +x /stream.sh && mkdir -p /usr/share/nginx/html/hls
EXPOSE 80
CMD ["/stream.sh"]