Commit Graph

4 Commits

Author SHA1 Message Date
b5c40f2e13 fix: update Dockerfile and weather service configuration
- Added 'libpq-dev' to the packages installed in the Dockerfile
- Updated the base_uri in WeatherService to use 'dig' for safer access

These changes improve the Docker environment by ensuring that
necessary PostgreSQL development headers are available during
installation. The weather service now safely accesses the
URI from the credentials, reducing the risk of errors when
fetching nested configuration data.
2025-01-22 17:07:04 +08:00
2ab495897d chore: update Dockerfile to install libpq5
- Add libpq5 to the list of installed packages for
  database connections.
- Remove libpq-dev from the list as it is no longer
  necessary for the build process.

These adjustments enhance the Docker image configuration,
ensuring the application can connect to PostgreSQL databases
without unnecessary build dependencies.
2025-01-22 16:57:54 +08:00
93b24ff50c chore: update Dockerfile to include libpq-dev
- Add libpq-dev to the list of packages installed for the build
- Ensure that the environment has the necessary dependencies

This change updates the Dockerfile to include the libpq-dev package,
which is required for compiling certain gem dependencies. The inclusion
of this package improves the compatibility of the environment with
database-related gems during the build process, ensuring a smoother
setup for development and deployment.
2025-01-22 09:29:37 +08:00
8517905b68 init with rails8 + active-admin 2025-01-19 01:13:59 +08:00