Skip to content

Commit

Permalink
refactor: moved docker-compose and nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
frazarshad committed Mar 15, 2024
1 parent 16f070b commit f7ea905
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Run e2e tests
run: |
docker-compose -f docker-compose.yml --profile synpress up --build --exit-code-from synpress
docker-compose -f tests/e2e/docker-compose.yml --profile synpress up --build --exit-code-from synpress
env:
COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_BUILDKIT: 1
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /app

RUN apt update && apt install -y nginx

COPY nginx.conf /etc/nginx/sites-available/default
COPY tests/e2e/nginx.conf /etc/nginx/sites-available/default

COPY . .

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml → tests/e2e/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
profiles:
- synpress
container_name: synpress
build: .
build: ../..
environment:
- DISPLAY=display:0.0
- CYPRESS_PRIVATE_KEY_WITH_FUNDS=${CYPRESS_PRIVATE_KEY_WITH_FUNDS}
Expand Down
File renamed without changes.

0 comments on commit f7ea905

Please sign in to comment.