Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Docker file and Modified Personal messages #6

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

A-sri-ram
Copy link

Modified the personal message to display my name. Added a docker file so that we can create Docker image from Docker container could be spawned.

Dockerfile Outdated Show resolved Hide resolved
# Run FastAPI server on the port exposed above.
CMD [ "uvicorn" ,"main:app", "--host", "0.0.0.0", "--reload" ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One other point: there's a flag for uvicorn that enables you to set the port your server will be running on. By default, it's 8000, so it works in this case without having set that flag. But keep this in mind, in case you ever run into a situation where you need to run on a different port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants