From bc29d012000e46e70ea0d7686544191e59424035 Mon Sep 17 00:00:00 2001 From: IITG Date: Thu, 31 Oct 2024 12:11:35 +1100 Subject: [PATCH] Set the WORKDIR to /app so config.json can be pulled in using a relative path --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9a7ece2..03e66e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,4 +32,6 @@ RUN adduser -D iperf-web RUN chown -R iperf-web:iperf-web /app USER iperf-web -CMD ["python", "/app/app.py"] +WORKDIR /app + +CMD ["python", "app.py"]