2022-08-13 03:42:54 +08:00
|
|
|
# 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
|
|
|
|
|
2022-08-15 13:37:19 +08:00
|
|
|
RUN npm install && npm run build:tests-tools
|
2022-08-13 03:42:54 +08:00
|
|
|
|
2022-08-15 13:37:19 +08:00
|
|
|
CMD npm run test -w ./packages/client -- --redis-version=2.8
|