still permissions
This commit is contained in:
parent
1e65340641
commit
2ca7631980
@ -12,8 +12,7 @@ RUN chown -R airsonic:airsonic ${AIRSONIC_DIR}
|
|||||||
|
|
||||||
RUN mkdir -p $AIRSONIC_DIR/data/transcode
|
RUN mkdir -p $AIRSONIC_DIR/data/transcode
|
||||||
RUN ln -s /usr/bin/ffmpeg $AIRSONIC_DIR/data/transcode/ffmpeg
|
RUN ln -s /usr/bin/ffmpeg $AIRSONIC_DIR/data/transcode/ffmpeg
|
||||||
RUN chmod +x $AIRSONIC_DIR/data/transcode/ffmpeg
|
RUN chmod +x /usr/bin/ffmpeg
|
||||||
RUN chown -R airsonic:airsonic $AIRSONIC_DIR/data/transcode
|
|
||||||
|
|
||||||
ADD /rootfs /
|
ADD /rootfs /
|
||||||
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv sh
|
#!/usr/bin/with-contenv sh
|
||||||
|
|
||||||
chown airsonic:airsonic $AIRSONIC_DIR/data/transcode/ffmpeg
|
|
||||||
|
|
||||||
cd ${AIRSONIC_DIR}
|
cd ${AIRSONIC_DIR}
|
||||||
exec s6-setuidgid airsonic java -Xmx512m \
|
exec s6-setuidgid airsonic java -Xmx512m \
|
||||||
-Dserver.host=0.0.0.0 \
|
-Dserver.host=0.0.0.0 \
|
||||||
|
Loading…
Reference in New Issue
Block a user