There's a bug in the VSCode devcontainers extension that causes it to fail to interpret end-of-line comments as comments in the dockerfile. This was causing Docker container build to fail. I moved the comments to their own lines, and it fixed the issue.
The .devcontainer.json file was incorrectly formatted, so I fixed the JSON hierarchy for "build" and "settings". (The terminal setting is still using a deprecated format, but I left that one because it's non-breaking and I wanted to leave a minimal footprint.)
I clarified in the README that the dockerfile doesn't set up modal, so you'll have to set up modal in the container yourself.
I added python-dotenv as a dependency and added load_dotenv() statements to the modules users can call.
I edited the dockerfile so that it optionally copies any .env file over to the Docker container.
Changes:
There's a bug in the VSCode devcontainers extension that causes it to fail to interpret end-of-line comments as comments in the dockerfile. This was causing Docker container build to fail. I moved the comments to their own lines, and it fixed the issue.
The .devcontainer.json file was incorrectly formatted, so I fixed the JSON hierarchy for "build" and "settings". (The terminal setting is still using a deprecated format, but I left that one because it's non-breaking and I wanted to leave a minimal footprint.)
I clarified in the README that the dockerfile doesn't set up modal, so you'll have to set up modal in the container yourself.
I added python-dotenv as a dependency and added load_dotenv() statements to the modules users can call.
I edited the dockerfile so that it optionally copies any .env file over to the Docker container.