dragonfly/tests/node-redis.Dockerfile

15 lines
326 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 && npm run build:tests-tools
CMD npm run test -w ./packages/client -- --redis-version=2.8