Repository navigation
Fix/docker compose #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
4a4bf09
FCT : Service d'appel du fournisseur d'Identité
superjekk0 f395708
FCT : Ajout d'utilisateur valide
superjekk0 2ec6366
BUGFIX : Appel au point d'entrée Userinfo
superjekk0 06b7b7a
BUGFIX : Valeurs par défaut manquantes
superjekk0 dbf501f
PROGRES:added cors policy
Yves-Shaheem 98ea773
PROGRES: fixed docker file and compose to fit with 8081
Yves-Shaheem ff0a672
Fix the the docker-compose.yaml file
Yves-Shaheem 78ae92a
README update
Yves-Shaheem 22dafb3
README update
Yves-Shaheem e1e06af
fix the missing file
Yves-Shaheem f783e8a
update env template
Yves-Shaheem c0bce2c
update README, missing text
Yves-Shaheem 2656450
unified the compose
Yves-Shaheem 755b550
PROGRES : Intégration Docker Compose à Visual Studio 2026
superjekk0 53d043d
Réparation du Docker Compose
superjekk0 025325b
FCT : Configuration de l'intégration à Visual Studio
superjekk0 2fa7dda
Réparation du Workflow
superjekk0 1991987
FCT : Attachement de débogueur Visual Studio
superjekk0 3fa0b27
Changement de l'emplacement de compilation cible
superjekk0 61ef247
Essai 2 de la compilation Docker
superjekk0 ce6c41e
Rédaction de documentation
superjekk0 56b0b1f
Suppression de la ConnectionString à la Windows
superjekk0 cc07c87
Ajout de politique CORS par défaut
superjekk0 2801a2b
Merge remote-tracking branch 'origin/feature/authentification-authent…
superjekk0 4e81df5
Normalisation des rôles
superjekk0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,27 @@ | ||
| FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base | ||
| USER app | ||
| USER $APP_UID | ||
| WORKDIR /app | ||
| EXPOSE 8080 | ||
| EXPOSE 8081 | ||
| EXPOSE 8082 | ||
|
|
||
| FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build | ||
| ARG BUILD_CONFIGURATION=Release | ||
| WORKDIR /src | ||
| COPY ../core/api.core.csproj ./core/ | ||
| COPY ../emails/api.emails.csproj ./emails/ | ||
| COPY ../files/api.files.csproj ./files/ | ||
| COPY ../tests/api.tests.csproj ./tests/ | ||
| COPY ../Hello.sln ./ | ||
| RUN dotnet restore | ||
| COPY ["core/api.core.csproj", "core/"] | ||
| COPY ["emails/api.emails.csproj", "emails/"] | ||
| COPY ["files/api.files.csproj", "files/"] | ||
| RUN dotnet restore "./core/api.core.csproj" | ||
|
|
||
| COPY ../ . | ||
| WORKDIR /src | ||
| RUN dotnet build -c $BUILD_CONFIGURATION -o /app/build | ||
| COPY . . | ||
| WORKDIR "/src/core" | ||
| RUN dotnet build "./api.core.csproj" -c $BUILD_CONFIGURATION -o /app/build | ||
|
|
||
| FROM build AS publish | ||
| ARG BUILD_CONFIGURATION=Release | ||
| RUN dotnet publish -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false | ||
| RUN dotnet publish "./api.core.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false | ||
|
|
||
| FROM base AS runtime | ||
| FROM base AS final | ||
| WORKDIR /app | ||
| COPY --chown=app --from=publish /app/publish . | ||
| COPY --chown=$APP_UID --from=publish /app/publish . | ||
| RUN mkdir -p /app/volume # create volume directory to store images | ||
| ENTRYPOINT ["dotnet", "api.core.dll"] | ||
| ENTRYPOINT ["dotnet", "api.core.dll"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.