diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 27ff18c..1452e21 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -216,8 +216,8 @@ services: web: build: - context: ../web - dockerfile: Dockerfile + context: .. + dockerfile: web/Dockerfile container_name: myai-web depends_on: - api diff --git a/web/Dockerfile b/web/Dockerfile index 4b0b136..49d964d 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -6,7 +6,7 @@ COPY web/web.csproj web/ RUN dotnet restore web/web.csproj # Copy only the web project files to avoid bringing other projects into the build context -COPY web/. /web +COPY web/ web/ RUN dotnet publish web/web.csproj -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS final diff --git a/web/wwwroot/js/main.js b/web/wwwroot/js/main.js index c860eca..ddf134f 100644 --- a/web/wwwroot/js/main.js +++ b/web/wwwroot/js/main.js @@ -93,7 +93,7 @@ "cv.cvFailed": "CV extraction failed", "cv.matchFailed": "Job matching failed", "cv.completed": "Match completed.", - "cv.backendMissing": "The frontend is ready, but the backend endpoints /api/cv-matcher/upload and /api/cv-matcher/match-job must be implemented.", + "cv.backendMissing": "There was an error while processing the CV.", "cv.noSummary": "No summary returned.", "cv.noItems": "No items returned.", "cv.strengths": "Strengths", @@ -186,7 +186,7 @@ "cv.cvFailed": "Extragerea CV-ului a eșuat", "cv.matchFailed": "Matching-ul jobului a eșuat", "cv.completed": "Matching finalizat.", - "cv.backendMissing": "Frontend-ul este pregătit, dar endpoint-urile backend /api/cv-matcher/upload și /api/cv-matcher/match-job trebuie implementate.", + "cv.backendMissing": "A aparut o eroare la pcocesarea CV-ului.", "cv.noSummary": "Nu a fost returnat niciun sumar.", "cv.noItems": "Nu au fost returnate elemente.", "cv.strengths": "Puncte forte",