adapt to alpine
This commit is contained in:
parent
f0a43458e3
commit
5e5ee7f181
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user