mirror of
https://github.com/owntracks/recorder.git
synced 2026-05-07 02:46:36 +00:00
local files relative to recorder root
This commit is contained in:
@@ -33,18 +33,18 @@ RUN mkdir -p /usr/local/src /var/log/supervisor
|
||||
WORKDIR /usr/local/src
|
||||
RUN git clone https://github.com/owntracks/recorder.git
|
||||
WORKDIR /usr/local/src/recorder
|
||||
COPY config.mk /usr/local/src/recorder/config.mk
|
||||
COPY docker/config.mk /usr/local/src/recorder/config.mk
|
||||
RUN make && make install
|
||||
RUN chown owntracks /usr/local/bin/ocat /usr/local/sbin/ot-recorder && \
|
||||
chgrp owntracks /usr/local/bin/ocat /usr/local/sbin/ot-recorder && \
|
||||
chmod 7111 /usr/local/bin/ocat /usr/local/sbin/ot-recorder
|
||||
|
||||
|
||||
COPY launcher.sh /usr/local/sbin/launcher.sh
|
||||
COPY generate-CA.sh /usr/local/sbin/generate-CA.sh
|
||||
COPY docker/launcher.sh /usr/local/sbin/launcher.sh
|
||||
COPY docker/generate-CA.sh /usr/local/sbin/generate-CA.sh
|
||||
RUN chmod 755 /usr/local/sbin/launcher.sh /usr/local/sbin/generate-CA.sh
|
||||
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY mosquitto.conf mosquitto.acl /etc/mosquitto/
|
||||
COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY docker/mosquitto.conf docker/mosquitto.acl /etc/mosquitto/
|
||||
|
||||
EXPOSE 1883 8883 8083
|
||||
CMD ["/usr/local/sbin/launcher.sh"]
|
||||
|
||||
Reference in New Issue
Block a user