FROM dock.mau.dev/maubot/maubot:latest ## With openai for chatGPT: RUN apk upgrade RUN apk upgrade --available RUN pip install --upgrade pip RUN pip install --upgrade setuptools RUN apk add --no-cache \ --virtual=.build-dependencies \ g++ file binutils \ musl-dev python3-dev cython && \ apk add libstdc++ openblas && \ ln -s locale.h /usr/include/xlocale.h && \ pip install -I numpy==1.24.1 # rm -r /root/.cache && \ # find /usr/lib/python3.*/ -name 'tests' -exec rm -r '{}' + && \ # find /usr/lib/python3.*/site-packages/ -name '*.so' -print -exec sh -c 'file "{}" | grep -q "not stripped" && strip -s "{}"' \; && \ # rm /usr/include/xlocale.h && \ # apk del .build-dependencies RUN pip install -I openai