Skip to content

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

Merged
merged 6 commits into from
May 12, 2025
Merged

Adds Dockerfile for easy setup #42

merged 6 commits into from
May 12, 2025

Conversation

danielfdsilva
Copy link
Member

@danielfdsilva danielfdsilva commented May 7, 2025

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

Provides a Dockerfile for containerizing the application. Updates the README with instructions on how to build and run the application in a Docker container.
@danielfdsilva danielfdsilva requested review from pantierra and j08lue May 7, 2025 10:19
Copy link
Member

@j08lue j08lue left a 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:

danielfdsilva and others added 3 commits May 8, 2025 15:41
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
@danielfdsilva danielfdsilva requested a review from j08lue May 8, 2025 15:19
@danielfdsilva
Copy link
Member Author

@j08lue Included the improvement to env variables loading

Copy link
Member

@j08lue j08lue left a 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. 👌

@danielfdsilva danielfdsilva merged commit 38f0863 into main May 12, 2025
4 checks passed
@danielfdsilva danielfdsilva deleted the feature/docker branch May 12, 2025 09:13
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.

Move client .env example to .env.example Include Dockerfile and publish default image?
2 participants