You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 

35 lines
654 B

FROM alpine:3.6
ARG ISSO_VER=0.10.5
ENV GID=1000 UID=1000
RUN apk -U upgrade \
&& apk add -t build-dependencies \
python-dev \
libffi-dev \
py2-pip \
build-base \
&& apk add \
python \
py-setuptools \
sqlite \
libressl \
ca-certificates \
su-exec \
tini \
&& pip install --no-cache cffi \
&& pip install --no-cache misaka==1.0.2 \
&& pip install --no-cache "isso==${ISSO_VER}" \
&& apk del build-dependencies \
&& rm -rf /tmp/* /var/cache/apk/* /tmp/* /root/.gnupg /root/.cache/
COPY run.sh /usr/local/bin/run.sh
RUN chmod +x /usr/local/bin/run.sh
EXPOSE 8080
VOLUME /db /config
CMD ["run.sh"]