-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use PostgreSQL document library - Remove `isLegacy` property from profiles and listings - Update Docker image parameters (v 3.1 is deployed as a container) - Update dependencies
- Loading branch information
1 parent
f289bee
commit a89eff2
Showing
23 changed files
with
254 additions
and
552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ src/**/obj | |
src/**/appsettings.*.json | ||
src/.vs | ||
src/.idea | ||
|
||
.fake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,25 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build | ||
FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine AS build | ||
WORKDIR /jjj | ||
COPY ./JobsJobsJobs.sln ./ | ||
COPY ./JobsJobsJobs/Directory.Build.props ./JobsJobsJobs/ | ||
COPY ./JobsJobsJobs/Application/JobsJobsJobs.Application.fsproj ./JobsJobsJobs/Application/ | ||
COPY ./JobsJobsJobs/Citizens/JobsJobsJobs.Citizens.fsproj ./JobsJobsJobs/Citizens/ | ||
COPY ./JobsJobsJobs/Common/JobsJobsJobs.Common.fsproj ./JobsJobsJobs/Common/ | ||
COPY ./JobsJobsJobs/Home/JobsJobsJobs.Home.fsproj ./JobsJobsJobs/Home/ | ||
COPY ./JobsJobsJobs/Listings/JobsJobsJobs.Listings.fsproj ./JobsJobsJobs/Listings/ | ||
COPY ./JobsJobsJobs/Profiles/JobsJobsJobs.Profiles.fsproj ./JobsJobsJobs/Profiles/ | ||
COPY ./JobsJobsJobs/SuccessStories/JobsJobsJobs.SuccessStories.fsproj ./JobsJobsJobs/SuccessStories/ | ||
RUN dotnet restore | ||
|
||
COPY . ./ | ||
WORKDIR /jjj/JobsJobsJobs/Server | ||
RUN dotnet publish JobsJobsJobs.Server.csproj -c Release /p:PublishProfile=Properties/PublishProfiles/FolderProfile.xml | ||
WORKDIR /jjj/JobsJobsJobs/Application | ||
RUN dotnet publish -c Release -r linux-x64 | ||
|
||
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" ] | ||
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine as final | ||
WORKDIR /app | ||
RUN apk add --no-cache icu-libs | ||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false | ||
COPY --from=build /jjj/JobsJobsJobs/Application/bin/Release/net7.0/linux-x64/publish/ ./ | ||
|
||
EXPOSE 80 | ||
CMD [ "dotnet", "/app/JobsJobsJobs.Application.dll" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.