22 lines
440 B
Docker
22 lines
440 B
Docker
|
FROM lsiobase/alpine.python:3.6
|
|||
|
MAINTAINER Michael Reber
|
|||
|
|
|||
|
# set version label
|
|||
|
ARG BUILD_DATE
|
|||
|
ARG VERSION
|
|||
|
LABEL build_version="Version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
|||
|
|
|||
|
# set python to use utf-8 rather than ascii
|
|||
|
ENV PYTHONIOENCODING="UTF-8"
|
|||
|
|
|||
|
# install app
|
|||
|
RUN \
|
|||
|
git clone --depth=1 https://github.com/cytec/SickRage.git /app/sickrage
|
|||
|
|
|||
|
# copy local files
|
|||
|
COPY root/ /
|
|||
|
|
|||
|
# ports and volumes
|
|||
|
EXPOSE 8081
|
|||
|
VOLUME /config /downloads /tv
|