parent
93d7124cec
commit
5753246065
@ -0,0 +1,30 @@ |
|||||||
|
**/.classpath |
||||||
|
**/.dockerignore |
||||||
|
**/.env |
||||||
|
**/.git |
||||||
|
**/.gitignore |
||||||
|
**/.project |
||||||
|
**/.settings |
||||||
|
**/.toolstarget |
||||||
|
**/.vs |
||||||
|
**/.vscode |
||||||
|
**/*.*proj.user |
||||||
|
**/*.dbmdl |
||||||
|
**/*.jfm |
||||||
|
**/azds.yaml |
||||||
|
**/bin |
||||||
|
**/charts |
||||||
|
**/docker-compose* |
||||||
|
**/Dockerfile* |
||||||
|
**/node_modules |
||||||
|
**/npm-debug.log |
||||||
|
**/obj |
||||||
|
**/secrets.dev.yaml |
||||||
|
**/values.dev.yaml |
||||||
|
LICENSE |
||||||
|
README.md |
||||||
|
!**/.gitignore |
||||||
|
!.git/HEAD |
||||||
|
!.git/config |
||||||
|
!.git/packed-refs |
||||||
|
!.git/refs/heads/** |
@ -0,0 +1,13 @@ |
|||||||
|
{ |
||||||
|
"version": 1, |
||||||
|
"isRoot": true, |
||||||
|
"tools": { |
||||||
|
"dotnet-ef": { |
||||||
|
"version": "8.0.6", |
||||||
|
"commands": [ |
||||||
|
"dotnet-ef" |
||||||
|
], |
||||||
|
"rollForward": false |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,25 @@ |
|||||||
|
#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. |
||||||
|
|
||||||
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base |
||||||
|
USER app |
||||||
|
WORKDIR /app |
||||||
|
EXPOSE 8080 |
||||||
|
EXPOSE 8081 |
||||||
|
|
||||||
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build |
||||||
|
ARG BUILD_CONFIGURATION=Release |
||||||
|
WORKDIR /src |
||||||
|
COPY ["BlazorFluentUI/BlazorFluentUI.csproj", "BlazorFluentUI/"] |
||||||
|
RUN dotnet restore "./BlazorFluentUI/BlazorFluentUI.csproj" |
||||||
|
COPY . . |
||||||
|
WORKDIR "/src/BlazorFluentUI" |
||||||
|
RUN dotnet build "./BlazorFluentUI.csproj" -c $BUILD_CONFIGURATION -o /app/build |
||||||
|
|
||||||
|
FROM build AS publish |
||||||
|
ARG BUILD_CONFIGURATION=Release |
||||||
|
RUN dotnet publish "./BlazorFluentUI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false |
||||||
|
|
||||||
|
FROM base AS final |
||||||
|
WORKDIR /app |
||||||
|
COPY --from=publish /app/publish . |
||||||
|
ENTRYPOINT ["dotnet", "BlazorFluentUI.dll"] |
@ -1,38 +1,49 @@ |
|||||||
{ |
{ |
||||||
"$schema": "http://json.schemastore.org/launchsettings.json", |
"profiles": { |
||||||
"iisSettings": { |
"http": { |
||||||
"windowsAuthentication": false, |
"commandName": "Project", |
||||||
"anonymousAuthentication": true, |
"launchBrowser": true, |
||||||
"iisExpress": { |
"environmentVariables": { |
||||||
"applicationUrl": "http://localhost:41550", |
"ASPNETCORE_ENVIRONMENT": "Development" |
||||||
"sslPort": 44309 |
|
||||||
} |
|
||||||
}, |
|
||||||
"profiles": { |
|
||||||
"http": { |
|
||||||
"commandName": "Project", |
|
||||||
"dotnetRunMessages": true, |
|
||||||
"launchBrowser": true, |
|
||||||
"applicationUrl": "http://localhost:5231", |
|
||||||
"environmentVariables": { |
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development" |
|
||||||
} |
|
||||||
}, |
}, |
||||||
"https": { |
"dotnetRunMessages": true, |
||||||
"commandName": "Project", |
"applicationUrl": "http://localhost:5231" |
||||||
"dotnetRunMessages": true, |
}, |
||||||
"launchBrowser": true, |
"https": { |
||||||
"applicationUrl": "https://localhost:7166;http://localhost:5231", |
"commandName": "Project", |
||||||
"environmentVariables": { |
"launchBrowser": true, |
||||||
"ASPNETCORE_ENVIRONMENT": "Development" |
"environmentVariables": { |
||||||
} |
"ASPNETCORE_ENVIRONMENT": "Development" |
||||||
}, |
}, |
||||||
"IIS Express": { |
"dotnetRunMessages": true, |
||||||
"commandName": "IISExpress", |
"applicationUrl": "https://localhost:7166;http://localhost:5231" |
||||||
"launchBrowser": true, |
}, |
||||||
"environmentVariables": { |
"IIS Express": { |
||||||
"ASPNETCORE_ENVIRONMENT": "Development" |
"commandName": "IISExpress", |
||||||
} |
"launchBrowser": true, |
||||||
|
"environmentVariables": { |
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development" |
||||||
} |
} |
||||||
|
}, |
||||||
|
"Container (Dockerfile)": { |
||||||
|
"commandName": "Docker", |
||||||
|
"launchBrowser": true, |
||||||
|
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}", |
||||||
|
"environmentVariables": { |
||||||
|
"ASPNETCORE_HTTPS_PORTS": "8081", |
||||||
|
"ASPNETCORE_HTTP_PORTS": "8080" |
||||||
|
}, |
||||||
|
"publishAllPorts": true, |
||||||
|
"useSSL": true |
||||||
|
} |
||||||
|
}, |
||||||
|
"$schema": "http://json.schemastore.org/launchsettings.json", |
||||||
|
"iisSettings": { |
||||||
|
"windowsAuthentication": false, |
||||||
|
"anonymousAuthentication": true, |
||||||
|
"iisExpress": { |
||||||
|
"applicationUrl": "http://localhost:41550", |
||||||
|
"sslPort": 44309 |
||||||
} |
} |
||||||
} |
} |
||||||
|
} |
Loading…
Reference in new issue