Skip to content
Snippets Groups Projects

pipeline multiple updates

Merged Dobromir Palushev requested to merge just-a-test into staging
2 files
+ 8
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
3
@@ -36,9 +36,8 @@ COPY ./server/package*.json ./
@@ -36,9 +36,8 @@ COPY ./server/package*.json ./
RUN npm ci --no-audit --no-fund
RUN npm ci --no-audit --no-fund
ARG \
ARG MONGODB_URL_TEST
MONGODB_URL_TEST=mongodb://host.docker.internal:27017/todo-app \
ARG JWT_SECRET_TEST
JWT_SECRET_TEST=<my-very-secret-jwt>
# MONGODB_URL and JWT_SECRET are available as env variables
# MONGODB_URL and JWT_SECRET are available as env variables
RUN MONGODB_URL=$MONGODB_URL_TEST JWT_SECRET=$JWT_SECRET_TEST npm run test
RUN MONGODB_URL=$MONGODB_URL_TEST JWT_SECRET=$JWT_SECRET_TEST npm run test
Loading