forked from linuxserver/docker-mylar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
43 lines (36 loc) · 935 Bytes
/
Dockerfile
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
40
41
42
43
FROM lsiobase/alpine.python:3.5
MAINTAINER sparklyballs, ajw107 (Alex Wood)
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
# environment settings
ENV CONFIG="/config"
ENV APP_ROOT="/app"
ENV APPDIRNAME="mylar"
ENV GITURL="https://github.com/evilhero/mylar.git"
ENV GITBRANCH="development"
ENV APP_EXEC="Mylar.py"
ENV APP_OPTS="--quiet --nolaunch --datadir ${CONFIG}/mylar"
ENV APP_COMP="python"
ENV HOME="${CONFIG}"
#make life easy for yourself
ENV TERM=xterm-color
RUN apk update && apk add --no-cache nano git
# install pip packages
#TODO: I must make it auto update these on restart of the docker
RUN \
pip install --no-cache-dir -U \
comictagger \
configparser \
tzlocal && \
# cleanup
rm -rf \
/root/.cache \
/tmp/*
# add local files
COPY root/ /
RUN chmod +x /usr/bin/ll
# ports and volumes
VOLUME "${CONFIG}" /mnt
EXPOSE 8090