diff --git a/integration/Dockerfile b/integration/Dockerfile index 47fce24b..31ff6e66 100644 --- a/integration/Dockerfile +++ b/integration/Dockerfile @@ -1,8 +1,8 @@ -FROM amir20/docker-alpine-puppeteer:edge +FROM amir20/docker-alpine-puppeteer:v1 -COPY --chown=pptruser:pptruser package*.json yarn.lock /app/ +COPY package*.json yarn.lock /app/ RUN yarn -COPY --chown=pptruser:pptruser . /app/ +COPY . /app/ -CMD [ "yarn", "test"] +CMD ["yarn", "test"] diff --git a/integration/docker-compose.test.yml b/integration/docker-compose.test.yml index 52a94d05..2991c2ef 100644 --- a/integration/docker-compose.test.yml +++ b/integration/docker-compose.test.yml @@ -21,6 +21,8 @@ services: build: context: . command: yarn test + volumes: + - ./__image_snapshots__:/app/__image_snapshots__ environment: - DEFAULT_URL=http://dozzle:8080/ - CUSTOM_URL=http://custom_base:8080/foobarbase