yardlight/Dockerfile

20 lines
451 B
Docker
Raw Normal View History

2021-02-18 07:39:38 +00:00
FROM alpine:latest
RUN apk update && apk upgrade
RUN apk add --update --no-cache python3 python3-dev py-pip git build-base freetype-dev nginx
RUN pip install --upgrade pip && \
pip install wheel && \
pip install gunicorn \
pip install flask
RUN git clone https://git.blackfinn.de/python/weblight.git
RUN cd weblight && python3 setup.py install
RUN rm -rf weblight
RUN mkdir -p /run/nginx
COPY run.sh /bin/
ENTRYPOINT ["/bin/run.sh"]