File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,20 @@ dotnet dev-certs https --trust
7676
7777```
7878
79+ Running with Docker
80+
81+ ```
82+ // To build the image
83+ docker-compose build
84+
85+ // To run the container
86+ docker-compose up
87+
88+ // To kill container
89+ docker-compose down
90+
91+ ```
92+
79932. The application will be available at `http://localhost:8000` and `https://localhost:8001` (or the configured URL).
8094
8195### Health Check Endpoint
Original file line number Diff line number Diff line change 22FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
33WORKDIR /app
44
5- # Expose the port the application runs on
6- # EXPOSE 8080
7- # EXPOSE 8000
8- # ENV ASPNETCORE_URLS=https://+;http://+
9- # ENV ASPNETCORE_HTTPS_PORTS=8001
10- # ENV ASPNETCORE_HTTP_PORTS=8000
11-
125ARG BUILD_CONFIGURATION=Release
136
147# Copy the project files and restore dependencies
You can’t perform that action at this time.
0 commit comments