- Added build dependencies for native Node.js modules in the Dockerfile, including python3, make, g++, and postgresql-dev.
- Improved the loading skeleton UI in the StoragePlanEditor component for better visual representation during data fetching.
Signed-off-by: Innei <tukon479@gmail.com>
- Added build dependencies for native Node.js modules in the Dockerfile, including python3, make, g++, and postgresql-dev.
- Installed postgresql-libs and removed build dependencies after installation to reduce image size.
- Updated pnpm-lock.yaml to include pg-native version 3.5.2 and adjusted related package versions accordingly.
- Modified package.json to add pg-native as a dependency.
- Updated vite.config.ts to include pg-native in the external dependencies list.
Signed-off-by: Innei <tukon479@gmail.com>
- Added curl to the Dockerfile for enhanced functionality.
- Ensured the docker-entrypoint.sh script has executable permissions.
Signed-off-by: Innei <tukon479@gmail.com>
- Combined multiple build commands into a single RUN command using background execution and wait to improve build efficiency.
- Ensured that builds for @afilmory/web, @afilmory/dashboard, and core are executed concurrently.
Signed-off-by: Innei <tukon479@gmail.com>
- Included a new COPY command to transfer patches into the Docker image.
- Ensured that patches are available in both core and builder stages for application consistency.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated Dockerfile to use Alpine base image for reduced size and added necessary runtime dependencies including exiftool.
- Refactored EXIF data extraction logic to utilize exiftool with improved error handling and logging.
- Simplified metadata handling by removing unnecessary checks and ensuring consistent extraction of EXIF data.
Signed-off-by: Innei <tukon479@gmail.com>
- Added perl, perl-image-exiftool, vips, and libheif to the Dockerfile for enhanced image processing capabilities.
- These dependencies support exiftool functionality and enable HEIF/HEIC support in libvips.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new entrypoint script to handle database migrations before starting the application.
- Implemented CLI commands for database migration, including argument parsing and execution logic.
- Updated Dockerfile to copy the entrypoint script and set it as the container's entrypoint.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed the build serve command in the Dockerfile to specifically use the @afilmory/web filter, ensuring the correct application context is built and served.
- This adjustment improves the clarity and accuracy of the build process for the web application.
Signed-off-by: Innei <tukon479@gmail.com>
- Modified the Dockerfile to use wildcard copying for built assets from the web and dashboard applications, ensuring all files are included in the production image.
- This change enhances the reliability of the asset transfer process during the build stage.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed the build command from 'build:web' to 'build:serve' to better align with the intended application startup process.
- Ensured that the Dockerfile reflects the latest build requirements for the core application.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed base image for both builder and runner stages to node:lts-alpine for improved performance and reduced image size.
- Removed hardcoded NODE_VERSION argument to simplify the Dockerfile.
- Updated package installation command to use 'apk add' for consistency.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new Dockerfile to streamline the build process for the core application.
- Configured multi-stage builds to optimize image size and separate build dependencies from production.
- Included installation of necessary packages and setup for the web and dashboard applications.
- Ensured proper copying of built assets to the production image for deployment.
Signed-off-by: Innei <tukon479@gmail.com>