preparing release
This commit is contained in:
parent
d1f543171d
commit
e6b17edd36
3 changed files with 13 additions and 4 deletions
7
.drone.yml
Normal file
7
.drone.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
kind: pipeline
|
||||
|
||||
steps:
|
||||
- name: compile
|
||||
image: microsoft/dotnet:sdk
|
||||
commands:
|
||||
- sh build.sh
|
|
@ -27,7 +27,7 @@ RUN dotnet publish -c release -o /app --no-restore
|
|||
FROM mcr.microsoft.com/dotnet/aspnet:5.0
|
||||
WORKDIR /app
|
||||
COPY --from=build /app ./
|
||||
ENTRYPOINT ["dotnet", "SignalRChat.dll"]
|
||||
ENTRYPOINT ["dotnet", "Sledgemapper.dll"]
|
||||
|
||||
|
||||
# # https://hub.docker.com/_/microsoft-dotnet-core
|
||||
|
|
|
@ -26,13 +26,14 @@ namespace Sledgemapper
|
|||
SessionData = sessionData;
|
||||
Connection = new HubConnectionBuilder()
|
||||
.WithAutomaticReconnect()
|
||||
//.WithUrl("http://hub.michelescandura.com:5000/SledgemapperHub")
|
||||
|
||||
.WithUrl("http://localhost:5000/SledgemapperHub", options =>
|
||||
//.WithUrl("http://localhost:5000/SledgemapperHub", options =>
|
||||
.WithUrl("http://hub.michelescandura.com:5000/SledgemapperHub", options =>
|
||||
{
|
||||
options.AccessTokenProvider = () => Task.FromResult(_authenticateResponse.Token);
|
||||
})
|
||||
|
||||
// .WithUrl("http://hub.michelescandura.com:5000/SledgemapperHub")
|
||||
.Build();
|
||||
|
||||
|
||||
|
@ -40,7 +41,8 @@ namespace Sledgemapper
|
|||
Api = RestService.For<IMapApi>(
|
||||
new HttpClient(new AuthenticatedHttpClientHandler(GetToken))
|
||||
{
|
||||
BaseAddress = new Uri("http://localhost:5000")
|
||||
BaseAddress = new Uri("http://hub.michelescandura.com:5000")
|
||||
// BaseAddress = new Uri("http://localhost:5000")
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue