chore: add redis env var to dockerfile.test

This commit is contained in:
Ricardo Arturo Cabral Mejía 2022-12-21 00:00:45 -05:00
parent 820199a0d8
commit 77f59fb9b7

View File

@ -7,10 +7,14 @@ ENV DB_USER=postgres
ENV DB_PASSWORD=postgres
ENV DB_MIN_POOL_SIZE=1
ENV DB_MAX_POOL_SIZE=2
ENV REDIS_HOST=cache-test
ENV REDIS_PORT=6379
ENV REDIS_USER=default
ENV REDIS_PASSWORD=nostr_ts_relay
WORKDIR /code
COPY ["package.json", "package-lock.json", ".nycrc.json", ".mocharc.js", "cucumber.js", "tsconfig.json", "knexfile.js", "./"]
COPY ["package.json", "settings.sample.json", "package-lock.json", ".nycrc.json", ".mocharc.js", "cucumber.js", "tsconfig.json", "knexfile.js", "./"]
RUN npm install --quiet