Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat : add redis-search module #19

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@ ENV REDIS_PORT 6379

# hadolint ignore=DL3008
RUN apt-get update &&\
apt-get -y install --no-install-recommends redis-tools \
apt-get -y install --no-install-recommends redis-tools redis-redisearch \
build-essential apt-transport-https curl python3 python3-dev python3-pip python3-setuptools software-properties-common unzip wget gnupg &&\
apt-get clean -y > /dev/null &&\
/usr/bin/pip3 install wheel rdbtools python-lzf &&\
rm -rf /var/cache/apt/* &&\
rm -rf /var/lib/apt/lists/* &&\
rm -rf /tmp/* &&\
mkdir -p /default
mkdir -p /default &&\
chown -R redis:redis /usr/lib/redis/modules/redisearch.so &&\
chmod -R 755 /usr/lib/redis/modules/redisearch.so &&\
echo 'loadmodule /usr/lib/redis/modules/redisearch.so' >> /etc/redis/redis.conf

ENTRYPOINT ["movai-entrypoint.sh","/etc/redis.conf"]