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

fix service Docker image #80

Merged
merged 2 commits into from
Oct 26, 2023
Merged

Conversation

joshuadavidthomas
Copy link
Member

Docker container was starting and exiting with the error 'no module named service found'.

Changed the copy statement to actually copy the service module to the correct folder and when I tested locally, that error went away but a new one popped up -- /usr/local/bin/python: No module named service.__main__; 'service' is a package and cannot be directly executed.

Renaming the __init__.py to __main__.py fixed that!

@joshuadavidthomas joshuadavidthomas merged commit 3c5622c into main Oct 26, 2023
25 checks passed
@joshuadavidthomas joshuadavidthomas deleted the fix-service-docker-image branch October 26, 2023 16:39
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.

1 participant