diff --git a/PARR.API.sln b/PARR.API.sln index f118a72d..1fed32c2 100644 --- a/PARR.API.sln +++ b/PARR.API.sln @@ -17,6 +17,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution ProjectSection(SolutionItems) = preProject .gitignore = .gitignore .gitlab-ci.yml = .gitlab-ci.yml + CHANGELOG.md = CHANGELOG.md NuGet.config = NuGet.config README.md = README.md EndProjectSection @@ -53,11 +54,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PARR.Test", "PARR.Test\PARR EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PARR.Constants", "PARR.Constants\PARR.Constants.csproj", "{46B09885-C9FB-449C-ACAA-24C671194C4D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PARR.EsppSync", "PARR.EsppSync\PARR.EsppSync.csproj", "{71121EF7-D4C1-43A4-9243-EF5C4C82030F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PARR.EsppSync", "PARR.EsppSync\PARR.EsppSync.csproj", "{71121EF7-D4C1-43A4-9243-EF5C4C82030F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PARR.EsppScheduleSync", "PARR.EsppScheduleSync\PARR.EsppScheduleSync.csproj", "{1E7F0EFE-784E-42E1-96BA-1FF743998619}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PARR.EsppScheduleSync", "PARR.EsppScheduleSync\PARR.EsppScheduleSync.csproj", "{1E7F0EFE-784E-42E1-96BA-1FF743998619}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PARR.EsppScheduleSyncWorker", "PARR.EsppScheduleSyncWorker\PARR.EsppScheduleSyncWorker.csproj", "{C597A1D7-1BC5-493B-BC29-03EC830FB090}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PARR.EsppScheduleSyncWorker", "PARR.EsppScheduleSyncWorker\PARR.EsppScheduleSyncWorker.csproj", "{C597A1D7-1BC5-493B-BC29-03EC830FB090}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/PARR.API/Dockerfile b/PARR.API/Dockerfile index 82f99165..c6ff6976 100644 --- a/PARR.API/Dockerfile +++ b/PARR.API/Dockerfile @@ -20,7 +20,7 @@ RUN dotnet build "PARR.API.csproj" -c Release -o /app/build FROM build AS publish ARG app_version=0.0.0-default RUN dotnet publish "PARR.API.csproj" -c Release -o /app/publish /p:UseAppHost=false /p:Version=$app_version -COPY --from=build CHANGELOG.md /app/publish/ +COPY --from=build /src/PARR.API/CHANGELOG.md /app/publish/wwwroot/ FROM base AS final WORKDIR /app diff --git a/PARR.API/Program.cs b/PARR.API/Program.cs index 81ea1bec..c428e934 100644 --- a/PARR.API/Program.cs +++ b/PARR.API/Program.cs @@ -73,5 +73,6 @@ app.UseAuthorization(); app.MapControllers(); app.InstallCors(builder); +app.UseStaticFiles(); app.Run(); diff --git a/PARR.API/wwwroot/.gitkeep b/PARR.API/wwwroot/.gitkeep new file mode 100644 index 00000000..e69de29b