Skip to content

Commit

Permalink
Set the WORKDIR to /app so config.json can be pulled in using a relat…
Browse files Browse the repository at this point in the history
…ive path
  • Loading branch information
IITG committed Oct 31, 2024
1 parent 68073ee commit bc29d01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit bc29d01

Please sign in to comment.