mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-06-16 04:31:28 +00:00
Update Dockerfile to comply with dotnet 7.0.2 SDK changes
This commit is contained in:
parent
c03c9cdf2c
commit
5e4954ae32
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ RUN dotnet sln list | grep ".csproj" \
|
|||
RUN dotnet restore
|
||||
|
||||
COPY . .
|
||||
RUN dotnet publish -c Release -o /ProjectLighthouse/publish --no-restore
|
||||
RUN dotnet publish -c Release --property:OutputPath=/ProjectLighthouse/publish --no-restore
|
||||
|
||||
# Final running container
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine AS final
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue