Switching to alpine linux for docker container

pull/56/merge
morpheus65535 7 years ago
parent 15a1d576ac
commit 1591529ff6

@ -1,16 +1,18 @@
FROM debian:buster FROM python:2.7.14-alpine3.6
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8 ENV LC_ALL C.UTF-8
EXPOSE 6767
VOLUME /tv VOLUME /tv
RUN apt-get update && \ RUN apk add --update git py-pip jpeg-dev && \
apt-get install -y python-dev python-pip python-setuptools libjpeg-dev zlib1g-dev git libffi-dev && \ apk add --update --virtual build-dependencies build-base python-dev libffi-dev zlib-dev && \
pip install -r /bazarr/requirements.txt git clone -b master --single-branch https://github.com/morpheus65535/bazarr.git /bazarr && \
pip install -r /bazarr/requirements.txt && \
apk del --purge build-dependencies
VOLUME /bazarr/data VOLUME /bazarr/data
EXPOSE 6767
CMD ["python", "/bazarr/bazarr.py"] CMD ["python", "/bazarr/bazarr.py"]
Loading…
Cancel
Save