Skip to content

Commit

Permalink
Changed locust docker path
Browse files Browse the repository at this point in the history
  • Loading branch information
jashmehta3300 committed Aug 10, 2023
1 parent 6b3d2d4 commit 74c6fb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_push_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: transactions
context: .
- name: locust
context: .
context: ./performance_tests/locust

steps:
- name: Checkout repository
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ services:

locust:
build:
context: .
dockerfile: performance_tests/locust/Dockerfile
context: ./performance_tests/locust
container_name: locust
hostname: locust
ports:
Expand Down
2 changes: 1 addition & 1 deletion performance_tests/locust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
FROM --platform=linux/amd64 python

RUN mkdir /service
COPY performance_tests/locust/ /service/locust/
COPY . /service/locust/
WORKDIR /service/locust
RUN python -m pip install --upgrade pip
RUN python -m pip install -r requirements.txt
Expand Down

0 comments on commit 74c6fb8

Please sign in to comment.