docker-lychee/Dockerfile
2017-01-27 14:25:58 +00:00

33 lines
555 B
Docker
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM lsiobase/alpine.nginx
MAINTAINER sparklyballs
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
# install packages
RUN \
apk add --no-cache \
php5-curl \
php5-exif \
php5-gd \
php5-imagick \
php5-mysqli \
php5-mysql \
php5-zip
# install lychee
RUN \
mkdir -p \
/usr/share/webapps/lychee && \
git clone \
https://github.com/electerious/Lychee.git /usr/share/webapps/lychee
# add local files
COPY root/ /
# ports and volumes
EXPOSE 80
VOLUME /config