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
76
76
77
77
```
78
78
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
+
79
93
2. The application will be available at `http://localhost:8000` and `https://localhost:8001` (or the configured URL).
80
94
81
95
### Health Check Endpoint
Original file line number Diff line number Diff line change 2
2
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
3
3
WORKDIR /app
4
4
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
-
12
5
ARG BUILD_CONFIGURATION=Release
13
6
14
7
# Copy the project files and restore dependencies
You can’t perform that action at this time.
0 commit comments