1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 14:31:44 +01:00

Use volumes (#560)

This commit is contained in:
Amir Raminfar
2020-07-04 11:33:45 -07:00
committed by GitHub
parent fc99b7320f
commit ee5973b9f3
2 changed files with 6 additions and 4 deletions

View File

@@ -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"]

View File

@@ -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