forked from Kieran/void.cat
Fix nospa
image
This commit is contained in:
parent
86ce63ee8b
commit
29cd0c20d8
@ -3,9 +3,9 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy everything else and build
|
# Copy everything else and build
|
||||||
COPY VoidCat .
|
COPY . .
|
||||||
RUN rm -rf appsettings.*.json
|
RUN rm -rf appsettings.*.json
|
||||||
RUN dotnet publish -c Release -o out -p:HostSPA=Flase VoidCat.csproj
|
RUN dotnet publish -c Release -o out -p:HostSPA=Flase VoidCat/VoidCat.csproj
|
||||||
|
|
||||||
# Build runtime image
|
# Build runtime image
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:6.0
|
FROM mcr.microsoft.com/dotnet/aspnet:6.0
|
||||||
|
Loading…
Reference in New Issue
Block a user