From b98d28adb46e2e6240794bc3aabe61184f8ca3f4 Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Mon, 14 Jun 2021 22:09:33 -0400 Subject: [PATCH] Update welcome page (#5) --- src/.dockerignore | 2 ++ src/Dockerfile | 10 ++++++++++ src/JobsJobsJobs.sln | 2 ++ src/JobsJobsJobs/Client/Pages/Index.razor | 4 ++-- .../Server/JobsJobsJobs.Server.csproj.user | 2 +- .../PublishProfiles/FolderProfile.pubxml.user | 2 +- 6 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 src/.dockerignore create mode 100644 src/Dockerfile diff --git a/src/.dockerignore b/src/.dockerignore new file mode 100644 index 0000000..f181d71 --- /dev/null +++ b/src/.dockerignore @@ -0,0 +1,2 @@ +**/bin +**/obj diff --git a/src/Dockerfile b/src/Dockerfile new file mode 100644 index 0000000..888d39a --- /dev/null +++ b/src/Dockerfile @@ -0,0 +1,10 @@ +FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build +WORKDIR /jjj +COPY . ./ +WORKDIR /jjj/JobsJobsJobs/Server +RUN dotnet publish JobsJobsJobs.Server.csproj -c Release /p:PublishProfile=Properties/PublishProfiles/FolderProfile.xml + +FROM mcr.microsoft.com/dotnet/aspnet:5.0 +WORKDIR /jjj +COPY --from=build /jjj/JobsJobsJobs/Server/bin/Release/net5.0/linux-x64/publish/ ./ +ENTRYPOINT [ "/jjj/JobsJobsJobs.Server" ] diff --git a/src/JobsJobsJobs.sln b/src/JobsJobsJobs.sln index 1f46ea4..23ff365 100644 --- a/src/JobsJobsJobs.sln +++ b/src/JobsJobsJobs.sln @@ -11,8 +11,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JobsJobsJobs.Shared", "Jobs EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{50B51580-9F09-41E2-BC78-DAD38C37B583}" ProjectSection(SolutionItems) = preProject + .dockerignore = .dockerignore database\12-add-real-name.sql = database\12-add-real-name.sql JobsJobsJobs\Directory.Build.props = JobsJobsJobs\Directory.Build.props + Dockerfile = Dockerfile database\tables.sql = database\tables.sql EndProjectSection EndProject diff --git a/src/JobsJobsJobs/Client/Pages/Index.razor b/src/JobsJobsJobs/Client/Pages/Index.razor index 8850a8b..65503cd 100644 --- a/src/JobsJobsJobs/Client/Pages/Index.razor +++ b/src/JobsJobsJobs/Client/Pages/Index.razor @@ -4,8 +4,8 @@

- Future home of No Agenda Jobs, where citizens of Gitmo Nation can assist one another in finding or enhancing their - employment. This will enable them to continue providing value for value to Adam and John, as they continue their work + Welcome to Jobs, Jobs, Jobs (AKA No Agenda Careers), where citizens of Gitmo Nation can assist one another in finding + employment. This will enable them to continue providing value-for-value to Adam and John, as they continue their work deconstructing the misinformation that passes for news on a day-to-day basis.

diff --git a/src/JobsJobsJobs/Server/JobsJobsJobs.Server.csproj.user b/src/JobsJobsJobs/Server/JobsJobsJobs.Server.csproj.user index 4aff699..476125d 100644 --- a/src/JobsJobsJobs/Server/JobsJobsJobs.Server.csproj.user +++ b/src/JobsJobsJobs/Server/JobsJobsJobs.Server.csproj.user @@ -6,7 +6,7 @@ JobsJobsJobs.Server MvcControllerEmptyScaffolder root/Common/MVC/Controller - FolderProfile + C:\Users\danie\Documents\sandbox\jobs-jobs-jobs\src\JobsJobsJobs\Server\Properties\PublishProfiles\FolderProfile.pubxml ProjectDebugger diff --git a/src/JobsJobsJobs/Server/Properties/PublishProfiles/FolderProfile.pubxml.user b/src/JobsJobsJobs/Server/Properties/PublishProfiles/FolderProfile.pubxml.user index a942429..d4dc7d4 100644 --- a/src/JobsJobsJobs/Server/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/src/JobsJobsJobs/Server/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -5,6 +5,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121. <_PublishTargetUrl>C:\Users\danie\Documents\sandbox\jobs-jobs-jobs\src\JobsJobsJobs\Server\bin\Release\net5.0\publish\ - True|2021-03-16T23:34:57.2747439Z; + True|2021-06-15T02:08:33.4261507Z;True|2021-06-14T21:58:04.2622487-04:00;True|2021-03-16T19:34:57.2747439-04:00; \ No newline at end of file