Skip to content

Commit

Permalink
V15: Fix docker (#17722)
Browse files Browse the repository at this point in the history
* Bump dotnet version

* Ensure LF line endings for shell scripts
  • Loading branch information
nikolajlauridsen authored Dec 10, 2024
1 parent e757b90 commit 03eb878
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
*.xml text=auto
*.resx text=auto
*.yml text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
*.sh eol=lf

*.csproj text=auto merge=union
*.vbproj text=auto merge=union
Expand Down
4 changes: 2 additions & 2 deletions templates/UmbracoProject/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
USER $APP_UID
WORKDIR /app
EXPOSE 8080
EXPOSE 8081

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["UmbracoProject/UmbracoProject.csproj", "UmbracoProject/"]
Expand Down

0 comments on commit 03eb878

Please sign in to comment.