Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
WeiPanAPI
Overview
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
Discuz
WeiPanAPI
Commits
a2c5e057
Commit
a2c5e057
authored
Jan 19, 2021
by
xiongyuwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
b172e3a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
Dockerfile
src/Bailun.Discuz.Service/Dockerfile
+1
-6
No files found.
src/Bailun.Discuz.Service/Dockerfile
View file @
a2c5e057
FROM
mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim AS base
WORKDIR
/app
EXPOSE
80
FROM
mcr.microsoft.com/dotnet/core/sdk:2.2-stretch AS build
WORKDIR
/src
COPY
["src/Bailun.Discuz.Service/Bailun.Discuz.Service.csproj", "src/Bailun.Discuz.Service/"]
...
...
@@ -19,4 +15,4 @@ RUN dotnet publish "Bailun.Discuz.Service.csproj" -c Release -o /app
FROM
base AS final
WORKDIR
/app
COPY
--from=publish /app .
ENTRYPOINT
["dotnet", "Bailun.Discuz.Service.dll"]
\ No newline at end of file
ENTRYPOINT
["dotnet", "Bailun.Discuz.Service.dll"]
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