Skip to content

Commit

Permalink
Fix dockerfile for example and instruction how to start it
Browse files Browse the repository at this point in the history
  • Loading branch information
dittmar committed Feb 28, 2024
1 parent 9d2edd2 commit 12aa011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The requirements file can use test releases when adding `--extra-index-url https
cd /examples
docker build . -t cadenza-analytics-example
docker image list
docker run YOUR_CREATED_IMAGE_ID
docker run -p 8080:8080 YOUR_CREATED_IMAGE_ID
```
### Technical notes
The release process uses PyPi's [trusted publishing](https://docs.pypi.org/trusted-publishers/), so is based on
Expand Down
2 changes: 1 addition & 1 deletion examples/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ WORKDIR /service
RUN apt-get update && apt-get -y upgrade
RUN pip install -r requirements.txt

CMD ["gunicorn", "-w", "4", "-b", ":8080", "--chdir", "extension", "example_extensions:analytics_service", "--access-logfile", "../logs/access.log"]
CMD ["gunicorn", "-w", "4", "-b", ":8080", "--chdir", "extension", "example_extensions:analytics_service()", "--access-logfile", "../logs/access.log"]

0 comments on commit 12aa011

Please sign in to comment.