15 Commits

Author SHA1 Message Date
Innei
fbaf81a62f chore: update Dockerfile and enhance loading skeleton in StoragePlanEditor
- 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>
2025-12-06 00:42:10 +08:00
Innei
5984ca407e chore: update Dockerfile and package dependencies for pg-native support
- 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>
2025-12-05 16:39:27 +08:00
Innei
20da96018d chore: update docker build
Signed-off-by: Innei <tukon479@gmail.com>
2025-12-05 00:35:32 +08:00
Innei
0b51776899 chore: update Dockerfile to include curl and improve entrypoint permissions
- Added curl to the Dockerfile for enhanced functionality.
- Ensured the docker-entrypoint.sh script has executable permissions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-24 18:53:50 +08:00
Innei
a75f76ea17 refactor: optimize Dockerfile build process
- 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>
2025-11-19 01:26:39 +08:00
Innei
05a83dadde feat(docker): add patches directory to Dockerfile for core and builder stages
- 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>
2025-11-17 15:39:24 +08:00
Innei
ef19962eb2 feat(docker): optimize Dockerfile and enhance EXIF data extraction
- 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>
2025-11-14 20:04:53 +08:00
Innei
9f436c63d3 chore(docker): update Dockerfile to include runtime dependencies for image processing
- 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>
2025-11-13 00:46:25 +08:00
Innei
7eebdb6083 feat: add database migration CLI and entrypoint script
- 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>
2025-11-11 17:53:23 +08:00
Innei
dd1ab7206b fix: update Dockerfile to specify web filter for build serve
- 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>
2025-11-11 16:02:09 +08:00
Innei
082f201aea refactor!: split builder config (#154)
Signed-off-by: Innei <tukon479@gmail.com>
2025-11-11 00:39:56 +08:00
Innei
dbc8be1884 refactor(docker): update asset copying in Dockerfile for core application
- 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>
2025-11-10 17:43:23 +08:00
Innei
6e309a724b refactor(docker): update build command in Dockerfile for core application
- 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>
2025-11-10 17:22:44 +08:00
Innei
7be611cc83 refactor(docker): update Dockerfile to use lts-alpine and streamline build process
- 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>
2025-11-09 23:00:03 +08:00
Innei
017cd7635c feat(docker): add Dockerfile for core application build and production setup
- 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>
2025-11-09 22:56:04 +08:00