Add view adress
continuous-integration/drone/push Build is passing Details

pull/1/head
Hugo LIVET 2 years ago
parent b45f71f1c1
commit e1371d36be

@ -5,9 +5,8 @@ COPY server/Server/Program.cs Program.cs
RUN dotnet publish -c Release -o out
FROM mcr.microsoft.com/dotnet/runtime:6.0
EXPOSE 3131
WORKDIR /app
COPY --from=build /app/out .
ENTRYPOINT ["dotnet", "app.dll"]
EXPOSE 3131

@ -16,6 +16,7 @@ class Program
IPEndPoint endPoint = new IPEndPoint(IPAddress.Parse("0.0.0.0"), 3131);
UdpClient server = new UdpClient(endPoint);
Console.WriteLine("Server started, waiting for clients to connect...");
Console.WriteLine(endPoint.Address.ToString());
while (true)
{

Loading…
Cancel
Save