diff --git a/backend/playout/Dockerfile b/backend/playout/Dockerfile index ebdd072..86fdbf5 100644 --- a/backend/playout/Dockerfile +++ b/backend/playout/Dockerfile @@ -18,14 +18,15 @@ RUN apk add --no-cache \ bash # Set working directory for playout WORKDIR /app +# Create directories for playlist, media, and HLS output +RUN mkdir -p /app/hls /app/media /app/playlists # Copy the playout start script and the built playlist manager binary COPY start-playout.sh /app/ # Copy demo data for out-of-the-box playout COPY demodata/ /app/ # Copy the built playlist manager binary from the builder stage COPY --from=builder /playlist-manager /app/playlist-manager -# Create directories for playlist, media, and HLS output -RUN mkdir -p /app/hls +# Set execute permissions for the start script and playlist manager binary RUN chmod +x /app/start-playout.sh /app/playlist-manager # Expose HLS directory (will be served by nginx) VOLUME ["/app/hls"]