UIAngular/dockerfile

22 lines
330 B
Plaintext

FROM node:12.18.1 as angular
WORKDIR /app/Client
COPY ./Client/package*.json .
RUN npm install
COPY ./Client .
RUN node node_modules/@angular/cli/bin/ng build --prod --configuration=production
WORKDIR /app/Server
COPY ./Server/package*.json .
RUN npm install
COPY ./Server .
EXPOSE 8111
CMD [ "node", "src/app.js 8111" ]