Rename frontend to ng-app

master
Nikola Forró 7 years ago
parent beae182906
commit 2645336b0b

@ -1,12 +1,12 @@
FROM node:alpine as builder FROM node:alpine as builder
WORKDIR /build WORKDIR /build
COPY frontend/package.json frontend/package-lock.json ./ COPY ng-app/package.json ng-app/package-lock.json ./
RUN npm install && mkdir /ng-app && cp -r node_modules/ /ng-app RUN npm install && mkdir /ng-app && cp -r node_modules/ /ng-app
WORKDIR /ng-app WORKDIR /ng-app
COPY frontend . COPY ng-app .
RUN $(npm bin)/ng build --prod --build-optimizer --output-hashing=none RUN $(npm bin)/ng build --prod --build-optimizer --output-hashing=none

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Loading…
Cancel
Save