Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dotnet-cicd-demo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eoc-group
dotnet-cicd-demo
Commits
83757f6f
Commit
83757f6f
authored
Aug 25, 2025
by
shipengwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.aipark.com:eoc-group/dotnet-cicd-demo
parents
c5070e41
abd674aa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
Dockerfile
Dockerfile
+0
-1
Program.cs
DotNetCicdDemo/Program.cs
+1
-1
No files found.
Dockerfile
View file @
83757f6f
...
...
@@ -5,7 +5,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim AS base
USER
$APP_UID
WORKDIR
/app
EXPOSE
80
EXPOSE
443
# 此阶段用于生成服务项目
FROM
mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build
...
...
DotNetCicdDemo/Program.cs
View file @
83757f6f
...
...
@@ -8,7 +8,7 @@ namespace DotNetCicdDemo
var
builder
=
WebApplication
.
CreateBuilder
(
args
);
// Add services to the container.
//
builder.WebHost.UseUrls("http://*");
builder
.
WebHost
.
UseUrls
(
"http://*"
);
builder
.
Services
.
AddControllers
();
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment