refactor : rename Inventory_frontend to frontend everywhere
All checks were successful
Build & Push Docker Image / build (push) Successful in 1m4s

Update Dockerfile, nginx, .dockerignore, makefile, CI workflow,
CLAUDE.md, README, release script to use frontend/ instead of
Inventory_frontend/. Remove submodule references from CI and
release script.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-04-01 14:19:20 +02:00
parent 974a4a0781
commit 73b2cf300d
8 changed files with 31 additions and 81 deletions

View File

@@ -26,11 +26,11 @@ RUN composer dump-autoload --optimize --no-dev
# --- Stage 2: Build frontend ---
FROM node:lts-alpine AS frontend-build
WORKDIR /app/Inventory_frontend
COPY Inventory_frontend/package.json Inventory_frontend/package-lock.json ./
WORKDIR /app/frontend
COPY frontend/package.json frontend/package-lock.json ./
RUN npm ci
COPY Inventory_frontend/ ./
COPY frontend/ ./
ENV CI=1 \
NUXT_TELEMETRY_DISABLED=1 \
NUXT_PUBLIC_API_BASE_URL=/api \
@@ -68,7 +68,7 @@ COPY deploy/docker/nginx.conf /etc/nginx/sites-enabled/inventory.conf
COPY --from=backend-build /app /var/www/html
# Frontend from stage 2
COPY --from=frontend-build /app/Inventory_frontend/.output/public /var/www/html/Inventory_frontend/.output/public
COPY --from=frontend-build /app/frontend/.output/public /var/www/html/frontend/.output/public
# Symfony needs a .env file to boot (variables are overridden by env_file in docker-compose)
RUN echo "APP_ENV=prod" > /var/www/html/.env