-
Notifications
You must be signed in to change notification settings - Fork 3
Adds Dockerfile for easy setup #42
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
Conversation
Provides a Dockerfile for containerizing the application. Updates the README with instructions on how to build and run the application in a Docker container.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should build the app at image build time because a container that builds the app at runtime is not very useful, I think.
We would not ship the image, just include the Dockerfile, so people can build the image themselves, baking in their own config. It's not worth a lot since there is barely any logic, but perhaps a nice reference for people.
Here is a PR that makes this change, pls feel free to merge into yours:
Build app at image build time
Introduces environment variable configuration for the client application. Adds an `.env.example` file to serve as a template for configuration. Moves environment variable loading and checking to a dedicated module for better organization and reusability. Modifies build and server tasks to utilize the new environment variable handling. Updates the README to include instructions on configuring the environment. Fix #43
@j08lue Included the improvement to env variables loading |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice addition of a useful Dockerfile for build instruction reference and convenience and a clarification of the way users specify configuration in .env
. 👌
7df4899
to
7aa35b3
Compare
Provides a Dockerfile for containerizing the application.
Updates the README with instructions on how to build and run the application in a Docker container.
Closes #41
Closes #43