Skip to content

Commit

Permalink
container: add missing --host to uvicorn
Browse files Browse the repository at this point in the history
The server would serve only on localhost, making it unavailable from
external access.

Signed-off-by: Paul Spooren <[email protected]>
  • Loading branch information
aparcar committed Aug 9, 2024
1 parent a8c0283 commit 5376bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ COPY ./asu/ ./asu/

COPY ./misc/config.py /etc/asu/config.py

CMD uvicorn 'asu.main:app'
CMD uvicorn --host 0.0.0.0 'asu.main:app'

0 comments on commit 5376bf0

Please sign in to comment.