Files
fake-cam/Dockerfile
2026-04-15 15:53:13 +02:00

14 lines
291 B
Docker

FROM nginx:alpine
RUN apk add --no-cache ffmpeg
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"]