Browse Source

Remove gulp (#281)

pull/282/head
Vince Grassia 1 year ago committed by GitHub
parent
commit
b9de2d40f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      docker-unified/Dockerfile

6
docker-unified/Dockerfile

@ -55,8 +55,6 @@ RUN apt-get update && apt-get install -y \ @@ -55,8 +55,6 @@ RUN apt-get update && apt-get install -y \
npm \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g gulp
# Copy csproj files as distinct layers
WORKDIR /source
COPY server/src/Admin/*.csproj ./src/Admin/
@ -137,7 +135,7 @@ COPY server/.git/. ./.git/ @@ -137,7 +135,7 @@ COPY server/.git/. ./.git/
# Build Admin app
WORKDIR /source/src/Admin
RUN npm install
RUN gulp --gulpfile "gulpfile.js" build
RUN npm run build
RUN . /tmp/rid.txt && dotnet publish -c release -o /app/Admin --no-restore --no-self-contained -r $RID
# Build Api app
@ -163,7 +161,7 @@ RUN . /tmp/rid.txt && dotnet publish -c release -o /app/Notifications --no-resto @@ -163,7 +161,7 @@ RUN . /tmp/rid.txt && dotnet publish -c release -o /app/Notifications --no-resto
# Build Sso app
WORKDIR /source/bitwarden_license/src/Sso
RUN npm install
RUN gulp --gulpfile "gulpfile.js" build
RUN npm run build
RUN . /tmp/rid.txt && dotnet publish -c release -o /app/Sso --no-restore --no-self-contained -r $RID
# Build Scim app

Loading…
Cancel
Save