Skip to content

Commit 9ded0c1

Browse files
committed
- fix
1 parent 181f0c6 commit 9ded0c1

File tree

4 files changed

+32
-22
lines changed

4 files changed

+32
-22
lines changed

Botticelli.sln

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,25 @@ EndProject
8282
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "linux", "linux", "{A4F5B449-60D4-4959-9E0B-5EECFD2A317B}"
8383
EndProject
8484
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "server", "server", "{9B590747-74F6-41C8-8733-B5B77A8FCAC1}"
85-
ProjectSection(SolutionItems) = preProject
86-
deploy\linux\server\build.sh = deploy\linux\server\build.sh
87-
deploy\linux\server\Dockerfile = deploy\linux\server\Dockerfile
88-
EndProjectSection
8985
EndProject
9086
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "server", "server", "{32305B1F-3B44-4BCF-AABC-E33C00DC91B0}"
9187
ProjectSection(SolutionItems) = preProject
9288
deploy\windows\server\build.cmd = deploy\windows\server\build.cmd
9389
EndProjectSection
9490
EndProject
95-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Botticelli.Server.Models", "Botticelli.Server.Models\Botticelli.Server.Models.csproj", "{2423A645-22D1-4736-946F-10A99353581C}"
91+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Botticelli.Server.Models", "Botticelli.Server.Models\Botticelli.Server.Models.csproj", "{2423A645-22D1-4736-946F-10A99353581C}"
92+
EndProject
93+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "back", "back", "{05922003-7445-47CF-8496-7224F44E7768}"
94+
ProjectSection(SolutionItems) = preProject
95+
deploy\linux\server\back\build.sh = deploy\linux\server\back\build.sh
96+
deploy\linux\server\back\Dockerfile = deploy\linux\server\back\Dockerfile
97+
EndProjectSection
98+
EndProject
99+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "front", "front", "{7FF17C87-CC2B-4CD6-B667-18B7BED78850}"
100+
ProjectSection(SolutionItems) = preProject
101+
deploy\linux\server\front\build.sh = deploy\linux\server\front\build.sh
102+
deploy\linux\server\front\Dockerfile = deploy\linux\server\front\Dockerfile
103+
EndProjectSection
96104
EndProject
97105
Global
98106
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -252,6 +260,8 @@ Global
252260
{9B590747-74F6-41C8-8733-B5B77A8FCAC1} = {A4F5B449-60D4-4959-9E0B-5EECFD2A317B}
253261
{32305B1F-3B44-4BCF-AABC-E33C00DC91B0} = {B5CD1142-F9ED-4006-B99A-AFAF5F9AF4F9}
254262
{2423A645-22D1-4736-946F-10A99353581C} = {A05D5A20-E0D3-4844-8311-C98E8B67DA7F}
263+
{05922003-7445-47CF-8496-7224F44E7768} = {9B590747-74F6-41C8-8733-B5B77A8FCAC1}
264+
{7FF17C87-CC2B-4CD6-B667-18B7BED78850} = {9B590747-74F6-41C8-8733-B5B77A8FCAC1}
255265
EndGlobalSection
256266
GlobalSection(ExtensibilityGlobals) = postSolution
257267
SolutionGuid = {2012E26A-91F8-40F9-9118-457668C6B7BA}

deploy/linux/server/Dockerfile

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
2+
WORKDIR /app
3+
4+
#RUN dotnet build -c Release --no-restore
5+
#RUN dotnet test --no-restore --verbosity normal
6+
RUN dotnet publish -c Release -r linux-x64 --output ../publish Botticelli.Server.FrontNew.csproj
7+
8+
COPY ../../../publish ./
9+
10+
FROM mcr.microsoft.com/dotnet/runtime:7.0 AS final
11+
WORKDIR /app
12+
13+
COPY --from=build /app/publish .
14+
15+
ENTRYPOINT ["dotnet", "Botticelli.Server.FrontNew.dll"]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ git pull
55

66
pushd Botticelli
77

8-
dotnet publish -c Release -r linux-x64 --output ../publish Botticelli.Server.csproj
8+
dotnet publish -c Release -r linux-x64 --output ../publish Botticelli.Server.FrontNew.csproj
99
popd
1010
popd
1111

1212
pushd botticelli/deploy/linux/server
1313
docker build -f Dockerfile .
14-
docker push hub.docker.com botticelli_server:0.1
14+
docker push hub.docker.com botticelli_server_front:0.1

0 commit comments

Comments
 (0)