79519865

Date: 2025-03-19 10:22:39
Score: 0.5
Natty:
Report link

if we use docker compose, can add like this,
docker file:
EXPOSE 8080
EXPOSE 8081

and

in docker-compse:

    ports:
      - 5000:8080
    environment:
      - ASPNETCORE_ENVIRONMENT=Docker
      - ASPNETCORE_HTTP_PORTS=8080
      - ASPNETCORE_HTTPS_PORTS=8081
      - ASPNETCORE_URLS=http://+:8080
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chinh Vo Wili