Skip to content

Commit

Permalink
Update uvicorn command in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcampbell committed Jan 31, 2024
1 parent 25b7db5 commit 7776fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
RUN pip install '.'

CMD ["uvicorn", "nsls2api.main:api", "--proxy-headers", "--host", "0.0.0.0", "--port", "8080", "--workers", "4", "--ssl-keyfile=/etc/nsls2/tls/server.key", "--ssl-certfile=/etc/nsls2/tls/server.cer"]
CMD ["uvicorn", "nsls2api.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "8080", "--workers", "4", "--ssl-keyfile=/etc/nsls2/tls/server.key", "--ssl-certfile=/etc/nsls2/tls/server.cer"]

0 comments on commit 7776fe1

Please sign in to comment.