Skip to content

Commit eaddd56

Browse files
committed
Adjust based on proposal
1 parent 6050b14 commit eaddd56

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Run Sample App in Docker
2929
run: |
3030
cp .env.docker.example .env.docker &&
31-
npm run docker:up -- --wait
31+
npm run docker:e2e:up -- --wait
3232
3333
- name: Install Chrome v111
3434
uses: browser-actions/setup-chrome@v1

docker-compose.local-dist.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
services:
2+
metabase:
3+
volumes:
4+
- type: bind
5+
source: ./local-dist/metabase.jar
6+
target: /app/metabase.jar
7+
read_only: true
8+
bind:
9+
create_host_path: false

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
"version": "0.0.0",
55
"scripts": {
66
"start": "npm run docker:up -- --build",
7-
"rm": "npm run docker:down -- --volumes --rmi all --remove-orphans",
87
"docker:up": "docker compose --env-file .env.docker up",
9-
"docker:down": "docker compose --env-file .env.docker down"
8+
"docker:e2e:up": "yarn docker:up",
9+
"docker:local-dist:up": "docker compose -f docker-compose.yml -f docker-compose.local-dist.yml --env-file .env.docker up",
10+
"docker:down": "docker compose --env-file .env.docker down",
11+
"docker:rm": "yarn docker:down --rmi all --volumes"
1012
}
1113
}

0 commit comments

Comments
 (0)