wttr (17e6e6c)
Published 2023-02-14 23:50:07 +00:00 by lobo
Installation
docker pull git.lerch.org/lobo/wttr:17e6e6c
sha256:a40f5deb135f5dfbf650ca31ff9ae66dd0cc5585bfcf36561d2085d2acf7084d
Image Layers
ADD file:c92c248239f8c7b9b3c067650954815f391b7bcb09023f984972c082ace2a8d0 in / |
CMD ["/bin/sh"] |
WORKDIR /app |
COPY file:e7cb1c1ecd8fe61ef04209b65c8372cc695d7eef4a2a3d99fb4c2d27705ec652 in /app/ |
ENV LLVM_CONFIG=/usr/bin/llvm9-config |
/bin/sh -c apk add --no-cache --virtual .build autoconf automake g++ gcc jpeg-dev llvm9-dev make zlib-dev && apk add --no-cache python3 py3-pip py3-scipy py3-wheel py3-gevent zlib jpeg llvm9 libtool supervisor py3-numpy-dev python3-dev && mkdir -p /app/cache && mkdir -p /var/log/supervisor && mkdir -p /etc/supervisor/conf.d && chmod -R o+rw /var/log/supervisor && chmod -R o+rw /var/run && pip install -r requirements.txt && apk del --no-cache -r .build |
COPY file:49614b3d4663178a24671045a8b676fd81d3a3f724e317e332a6b06e27d7f1ae in /app/bin/we-lang |
COPY dir:19c5cfe1cd3ceae112926b013665e1dc1c307679eddbc047109757602e600991 in /app/bin |
COPY dir:436f02bc4218f29cb5a145b8f52e4d6bdbffca13b015adab205802c9a54f9d53 in /app/lib |
COPY dir:a14c8e474dc437b347d88c0951ffe027bc34f18e9b425a7a03e091fc09703f3f in /app/share |
COPY file:82b31ef6dcc3ad64b934ec3ef8b5f78c2945b66ae5bde504d6bd3a6f2fb07d55 in /etc/supervisor/supervisord.conf |
ENV WTTR_MYDIR=/app |
ENV WTTR_GEOLITE=/app/GeoLite2-City.mmdb |
ENV WTTR_WEGO=/app/bin/we-lang |
ENV WTTR_LISTEN_HOST=0.0.0.0 |
ENV WTTR_LISTEN_PORT=8002 |
EXPOSE 8002 |
CMD ["/usr/bin/supervisord" "-c" "/etc/supervisor/supervisord.conf"] |