diff --git a/Dockerfile b/Dockerfile index 7c5f6e5..6bc607a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nginx:mainline-alpine +FROM frolvlad/alpine-glibc VOLUME /opt/seafile @@ -8,9 +8,11 @@ ENV SEAF=/opt/seafile COPY requirements.txt /tmp/requirements.txt -RUN apk --no-cache add py-pip sqlite-dev py-mysqldb py-pillow curl bash openssl-dev libevent libc6-compat \ +RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories \ + && apk --no-cache add py-pip sqlite-dev py-mysqldb py-pillow py-setuptools sqlite curl bash openssl-dev libevent libselinux nginx \ && pip install -r /tmp/requirements.txt && apk --no-cache del py-pip \ - && rm -f /tmp/requirements.txt + && rm -f /tmp/requirements.txt \ + && mkdir -p /run/nginx COPY conf /opt/seafile/conf COPY conf /etc/seafile