1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00
dragonflydb-dragonfly/tests/node-redis.Dockerfile
odedponcz cf729f3fcb
feat(test): Add integration test for the jedis and node-redis clients (#233)
* docs: Improve wording in issue reporting

Signed-off-by: odedponcz <oded@poncz.com>

* docs: Change contribution doc flow

Signed-off-by: odedponcz <oded@poncz.com>

* feat(tests): Add integration test with node-redis

Signed-off-by: odedponcz <oded@poncz.com>

* Rename integration test docker files

Signed-off-by: odedponcz <oded@poncz.com>
2022-08-12 22:42:54 +03:00

18 lines
382 B
Docker

# syntax=docker/dockerfile:1
FROM node:18.7.0
ENV NODE_ENV=development
WORKDIR /app
# Clone node-redis dragonfly fork
RUN git clone -b dragonfly https://github.com/dragonflydb/node-redis.git
WORKDIR /app/node-redis
RUN npm install
RUN npm run build -w ./packages/client
RUN npm run build -w ./packages/test-utils
CMD npm run test -w ./packages/client -- --redis-version=2.8