Skip to content

Conversation

samyak-ti
Copy link

Created a new branch named develop and made some changes.

FROM python:3.9

# Set working directory.
WORKDIR /the/workdir/path
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you want to set this to /code, based on the commands you've added below.

@@ -1,4 +1,4 @@
def get_personal_message() -> str:
Copy link
Contributor

Choose a reason for hiding this comment

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

You're never copying utils.py into your Docker container. How will any of this code be accessible in the container, then?

Since you've shifted main.py into an /app folder, you should move utils.py to that folder as well, and update your imports accordingly.

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