Debian Codegraph @

Dockerfile

raw
1 FROM redis/redis-stack-server:latest
2
3 COPY . /iredis
4
5 RUN apt-get update --fix-missing
6 RUN apt-get install -yqq python3 python3-pip python-is-python3
7 RUN python3 -m pip install poetry
8 WORKDIR /iredis
9 RUN poetry config virtualenvs.create false
10 RUN poetry build
11 RUN pip install dist/iredis*.tar.gz
12 WORKDIR /
13 RUN rm -rf .cache /var/cache/apt
14 RUN rm -rf /iredis
15
16 CMD ["sh", "-c", "/opt/redis-stack/bin/redis-stack-server --daemonize yes && iredis"]