11 lines
318 B
Docker
11 lines
318 B
Docker
|
FROM mcr.microsoft.com/dotnet/sdk:9.0
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
# Set ASP.NET to actually listen on all interfaces, not just localhost
|
||
|
ENV ASPNETCORE_URLS=http://+:5266
|
||
|
# Allow non-HTTPS because it's just development, who cares
|
||
|
ENV ASPNETCORE_ENVIRONMENT=Development
|
||
|
|
||
|
ENTRYPOINT ["dotnet", "watch", "run", "--no-launch-profile"]
|