Skip to content

Commit dfbcace

Browse files
committed
..
1 parent 826b73f commit dfbcace

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
7993
2. The application will be available at `http://localhost:8000` and `https://localhost:8001` (or the configured URL).
8094
8195
### Health Check Endpoint

src/Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
33
WORKDIR /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-
125
ARG BUILD_CONFIGURATION=Release
136

147
# Copy the project files and restore dependencies

0 commit comments

Comments
 (0)