🔨 Setup the docker build for tailwindcss
This commit is contained in:
@@ -15,6 +15,11 @@ COPY ["DysonNetwork.Develop/DysonNetwork.Develop.csproj", "DysonNetwork.Develop/
|
||||
RUN dotnet restore "DysonNetwork.Zone/DysonNetwork.Zone.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/DysonNetwork.Zone"
|
||||
RUN apt-get update && apt-get install -y curl && \
|
||||
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
||||
apt-get install -y nodejs
|
||||
RUN npm install
|
||||
RUN npm run css:build
|
||||
RUN dotnet build "DysonNetwork.Zone.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
|
||||
Reference in New Issue
Block a user