reorder copy steps
This commit is contained in:
1 parent
502fefff33
commit
5c1a8cbe4f
1 file changed
+6
-6
@@ -19,12 +19,6 @@ RUN apk add --no-cache \
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /playlist-manager /app/playlist-manager
|
||||
COPY start-playout.sh /app/
|
||||
COPY *.sh /app/
|
||||
|
||||
RUN chmod +x /app/*.sh /app/playlist-manager
|
||||
|
||||
# Create directories for playlist, media, and HLS output
|
||||
RUN mkdir -p /app/playlist /app/media /app/hls
|
||||
|
||||
@@ -32,6 +26,12 @@ RUN mkdir -p /app/playlist /app/media /app/hls
|
||||
COPY demodata/media/ /app/media/
|
||||
COPY demodata/playlist/ /app/playlist/
|
||||
|
||||
COPY --from=builder /playlist-manager /app/playlist-manager
|
||||
COPY start-playout.sh /app/
|
||||
COPY *.sh /app/
|
||||
|
||||
RUN chmod +x /app/*.sh /app/playlist-manager
|
||||
|
||||
# Expose HLS directory (will be served by nginx)
|
||||
VOLUME ["/app/hls"]
|
||||
|
||||
|
||||
Reference in new issue
Block a user