Skip to content

Commit 37c7b5c

Browse files
committed
fix paths and build context!
1 parent 2c72fc0 commit 37c7b5c

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

scenarios/tls.benchmarks.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
branchOrCommit: main
6767
dockerFile: dockerNginx/src/BenchmarksApps/TLS/Nginx/Dockerfile
6868
dockerImageName: dockerNginx
69-
dockerContextDirectory: dockerNginx/src/BenchmarksApps/TLS/Nginx
69+
dockerContextDirectory: dockerNginx/src/BenchmarksApps/TLS
7070
port: 8080
7171
readyStateText: Application started.
7272
environmentVariables:
@@ -250,7 +250,6 @@ scenarios:
250250
job: dockerLinuxNginxServer
251251
buildArguments:
252252
- CERT_KEY_LENGTH=2048
253-
dockerContextDirectory: ../
254253
load:
255254
job: httpclient
256255
variables:

src/BenchmarksApps/TLS/Nginx/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ FROM nginx:latest
44
ARG CERT_KEY_LENGTH=2048
55

66
# Copy configuration
7-
COPY config/nginx.conf /etc/nginx/nginx.conf
8-
COPY config/start-nginx.sh /start-nginx.sh
7+
COPY Nginx/config/nginx.conf /etc/nginx/nginx.conf
8+
COPY Nginx/config/start-nginx.sh /start-nginx.sh
99

1010
# Copy SSL certificates
11-
COPY ../Certificates/${CERT_KEY_LENGTH}/cert.pem /etc/nginx/certs/cert.pem
12-
COPY ../Certificates/${CERT_KEY_LENGTH}/key.pem /etc/nginx/certs/key.pem
11+
COPY Certificates/${CERT_KEY_LENGTH}/cert.pem /etc/nginx/certs/cert.pem
12+
COPY Certificates/${CERT_KEY_LENGTH}/key.pem /etc/nginx/certs/key.pem
1313

1414
# Make the script executable
1515
RUN chmod +x /start-nginx.sh

0 commit comments

Comments
 (0)