ph4 #1

Merged
mo merged 2 commits from ph4 into prod 2025-06-01 14:39:43 +02:00

2 Commits

Author SHA1 Message Date
mohamad
e104d26583 chore: Update deployment workflow to trigger on closed pull requests to prod
Some checks failed
Deploy to Production, build images and push to Gitea Registry / build_and_push (pull_request) Failing after 32s
2025-06-01 14:38:04 +02:00
mohamad
8ff31ecf91 refactor: Update deployment workflows and Dockerfiles for production
- Modified the GitHub Actions workflow to streamline the deployment process by installing Docker directly and using shell commands for building and pushing images.
- Changed the base image for the backend Dockerfile from `python:3.11-slim` to `python:alpine` for a smaller footprint.
- Updated the frontend Dockerfile to use `node:23-alpine` instead of `node:24-alpine`, and refactored the production stage to use `node:slim`. Added a script for runtime environment variable injection.
2025-06-01 14:37:09 +02:00