replace dockerized to docker-bundle
This commit is contained in:
17
docker-bundle/docker/mediamtx/Dockerfile
Normal file
17
docker-bundle/docker/mediamtx/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM bluenviron/mediamtx:latest-ffmpeg
|
||||
|
||||
USER root
|
||||
|
||||
RUN (apk add --no-cache curl gettext >/dev/null 2>&1) \
|
||||
|| (apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates curl gettext-base \
|
||||
&& rm -rf /var/lib/apt/lists/*)
|
||||
|
||||
COPY docker/mediamtx/entrypoint.sh /usr/local/bin/nyone-mediamtx-entrypoint
|
||||
COPY docker/mediamtx/mediamtx.yml.template /etc/mediamtx/mediamtx.yml.template
|
||||
|
||||
RUN chmod +x /usr/local/bin/nyone-mediamtx-entrypoint \
|
||||
&& mkdir -p /config /var/www/html/storage/app/private/recordings
|
||||
|
||||
ENTRYPOINT ["nyone-mediamtx-entrypoint"]
|
||||
|
||||
Reference in New Issue
Block a user