yardlight/Dockerfile
2021-02-18 08:39:38 +01:00

20 lines
451 B
Docker

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"]