Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.

Commit 82dfb18

Browse files
authored
Update Dockerfile
1 parent 43a6979 commit 82dfb18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ RUN set -ex;\
77
deps="$DEPS";\
88
apt-get update; \
99
apt-get install -y --no-install-recommends $deps;\
10-
pip install rmtest;
10+
pip install rmtest;
1111

1212
# Build the source
1313
ADD . /REJSON
1414
WORKDIR /REJSON
1515
RUN set -ex;\
1616
cargo build --release; \
17+
pip install -r ./test/pytest/requirements.txt\
1718
python ./test/pytest/test.py target/release/libredisjson.so;
1819

1920
# Package the runner
@@ -24,4 +25,4 @@ RUN set -ex;\
2425
mkdir -p "$LIBDIR";
2526
COPY --from=builder /REJSON/target/release/libredisjson.so "$LIBDIR"
2627

27-
CMD ["redis-server", "--loadmodule", "/usr/lib/redis/modules/libredisjson.so"]
28+
CMD ["redis-server", "--loadmodule", "/usr/lib/redis/modules/libredisjson.so"]

0 commit comments

Comments
 (0)