use alpine image
This commit is contained in:
parent
e20e8d907f
commit
aa3accb412
@ -4,7 +4,7 @@ COPY . .
|
|||||||
|
|
||||||
RUN dotnet publish "BinaryDad.Notes.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
RUN dotnet publish "BinaryDad.Notes.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN mkdir notes
|
RUN mkdir notes
|
||||||
COPY --from=build /app/publish .
|
COPY --from=build /app/publish .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user