mirror of
https://github.com/datarhei/restreamer.git
synced 2025-12-11 22:14:02 +01:00
Add v2.1.0
This commit is contained in:
28
Dockerfile
Normal file
28
Dockerfile
Normal file
@@ -0,0 +1,28 @@
|
||||
ARG RESTREAMER_UI_IMAGE=datarhei/restreamer-ui:latest
|
||||
|
||||
ARG CORE_IMAGE=datarhei/base:alpine-core-latest
|
||||
|
||||
ARG FFMPEG_IMAGE=datarhei/base:alpine-ffmpeg-latest
|
||||
|
||||
FROM $RESTREAMER_UI_IMAGE as restreamer-ui
|
||||
|
||||
FROM $CORE_IMAGE as core
|
||||
|
||||
FROM $FFMPEG_IMAGE
|
||||
|
||||
COPY --from=core /core /core
|
||||
COPY --from=restreamer-ui /ui/build /core/ui
|
||||
|
||||
COPY ./run.sh /core/bin/run.sh
|
||||
COPY ./ui-root /core/ui-root
|
||||
|
||||
RUN ffmpeg -buildconf
|
||||
|
||||
ENV CORE_CONFIGFILE=/core/config/config.json
|
||||
ENV CORE_DB_DIR=/core/config
|
||||
ENV CORE_ROUTER_UI_PATH=/core/ui
|
||||
ENV CORE_STORAGE_DISK_DIR=/core/data
|
||||
|
||||
VOLUME ["/core/data", "/core/config"]
|
||||
ENTRYPOINT ["/core/bin/run.sh"]
|
||||
WORKDIR /core
|
||||
Reference in New Issue
Block a user