-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
39 lines (27 loc) · 822 Bytes
/
Dockerfile
File metadata and controls
39 lines (27 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM binhex/arch-base:2015031900
MAINTAINER binhex
# additional files
##################
# add supervisor conf file for app
ADD *.conf /etc/supervisor/conf.d/
# add install and packer bash script
ADD *.sh /root/
# install app
#############
# make executable and run bash scripts to install app
RUN chmod +x /root/*.sh && \
/bin/bash /root/install.sh
# docker settings
#################
# map /config to host defined config path (used to store configuration from app)
VOLUME /config
# map /data to host defined data path (used to store downloads or use blackhole)
VOLUME /data
# map /media to host defined media path (used to read/write to media library)
VOLUME /media
# expose port for http
EXPOSE 8081
# run supervisor
################
# run supervisor
CMD ["supervisord", "-c", "/etc/supervisor.conf", "-n"]