Skip to content

Commit

Permalink
Some Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilesh9106 committed Jun 2, 2024
1 parent 6c88eaf commit a124a99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ RUN dotnet publish "Klustr-api.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENV ASPNETCORE_ENVIRONMENT Production
EXPOSE 80
EXPOSE 443
EXPOSE 8080
ENTRYPOINT ["dotnet", "Klustr-api.dll"]
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
// }

app.UseCors("default");
// app.UseHttpsRedirection();
app.UseHttpsRedirection();
app.MapControllers();
app.MapHub<ChatHub>("/chathub");

Expand Down

0 comments on commit a124a99

Please sign in to comment.