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:
@@ -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"]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user