diff --git a/DysonNetwork.Sphere/Dockerfile b/DysonNetwork.Sphere/Dockerfile index cb9ef7a..968050c 100644 --- a/DysonNetwork.Sphere/Dockerfile +++ b/DysonNetwork.Sphere/Dockerfile @@ -4,28 +4,17 @@ WORKDIR /app EXPOSE 8080 EXPOSE 8081 -ENV LANG C.UTF-8 - FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build -# Install Node.js RUN apt-get update && apt-get install -y nodejs npm - ARG BUILD_CONFIGURATION=Release WORKDIR /src -COPY ["DysonNetwork.Sphere.csproj", "DysonNetwork.Sphere/"] -RUN dotnet restore "DysonNetwork.Sphere/DysonNetwork.Sphere.csproj" -WORKDIR "/src/DysonNetwork.Sphere" +COPY ["DysonNetwork.Sphere.csproj", "."] +RUN dotnet restore "DysonNetwork.Sphere.csproj" COPY . . - -# Install npm packages and build Tailwind CSS -RUN npm install -RUN npm run css:build - RUN dotnet build "DysonNetwork.Sphere.csproj" -c $BUILD_CONFIGURATION -o /app/build FROM build AS publish ARG BUILD_CONFIGURATION=Release -ENV DOTNET_EnableResourceCopying=true RUN dotnet publish "DysonNetwork.Sphere.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false FROM base AS final diff --git a/DysonNetwork.sln.DotSettings.user b/DysonNetwork.sln.DotSettings.user index 2419506..d3de7f0 100644 --- a/DysonNetwork.sln.DotSettings.user +++ b/DysonNetwork.sln.DotSettings.user @@ -82,6 +82,8 @@ False True True + + False False True @@ -89,8 +91,10 @@ True True True - False - False + True + + True + False True False