-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (23 loc) · 931 Bytes
/
Dockerfile
File metadata and controls
30 lines (23 loc) · 931 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
FROM ubuntu:19.10
MAINTAINER tim@chaubet.be
LABEL title="3dprint Timelapser"
LABEL description="A docker container that will automatically \
- timelapse existing picture files in the attached volume, when no new pictures are coming in for a set time. The picture files are supposed to arrive from a motion sensor camera. \
- move the pictures to a backup folder or remove them after the timelapse process, as set. \
- move the timelapse video to a specified location"
ENV TZ='Europe/Brussels'
ARG DEBIAN_FRONTEND=noninteractive
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& apt-get install -y apt-utils \
ffmpeg \
tzdata \
vim \
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
&& echo $TZ > /etc/timezone \
&& rm -rf /var/lib/apt/lists/*
COPY start.sh /start.sh
RUN chmod +x /start.sh
VOLUME ["/mnt/timelapse_vids","/mnt/cache"]
EXPOSE 80
#ENTRYPOINT ["tail", "-f", "/dev/null"]
CMD ["/start.sh"]