This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM node:10.15.1-alpine | |
| LABEL author="Saurabh Palatkar" | |
| # set working directory | |
| RUN mkdir /usr/share/app | |
| WORKDIR /usr/share/app | |
| # install and cache app dependencies | |
| COPY package.json package.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.4" | |
| services: | |
| ng-app-service: | |
| image: ng.app.dev.image | |
| container_name: ng.app.dev.container | |
| build: | |
| context: . | |
| dockerfile: .docker/development.dockerfile | |
| environment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM node:10.15.1-alpine as angular-built | |
| WORKDIR /usr/src/app | |
| RUN npm i -g @angular/[email protected] | |
| COPY package.json package.json | |
| COPY package-lock.json package-lock.json | |
| RUN npm install --silent | |
| COPY . . | |
| RUN ng build --prod --build-optimizer | |
| FROM nginx:alpine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.4" | |
| services: | |
| ng-app-service: | |
| image: ng.app.prod.image | |
| container_name: ng.app.prod.container | |
| build: | |
| context: . | |
| dockerfile: .docker/production.dockerfile | |
| environment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "ng-app", | |
| "version": "0.0.0", | |
| "scripts": { | |
| "ng": "ng", | |
| "start": "ng serve", | |
| "build": "ng build", | |
| "test": "ng test", | |
| "lint": "ng lint", | |
| "e2e": "ng e2e", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.4" | |
| services: | |
| core-api-service: | |
| image: core.api.dev.image | |
| container_name: core.api.dev.container | |
| build: | |
| args: | |
| buildconfig: Debug | |
| context: . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Depending on the operating system of the host machines(s) that will build or run the containers, the image specified in the FROM statement may need to be changed. | |
| #For more information, please see https://aka.ms/containercompat | |
| FROM microsoft/dotnet:2.2-aspnetcore-runtime AS base | |
| WORKDIR /app | |
| EXPOSE 80 | |
| EXPOSE 443 | |
| FROM microsoft/dotnet:2.2-sdk AS build | |
| WORKDIR /src |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.4" | |
| services: | |
| core.api.service: | |
| image: core.api.prod.image | |
| container_name: core.api.prod.container | |
| build: | |
| context: . | |
| dockerfile: .docker/production.dockerfile | |
| ports: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "2.0.0", | |
| "tasks": [ | |
| { | |
| "label": "ng serve dev local", | |
| "type": "npm", | |
| "script": "serve-ui-dev-local", | |
| "isBackground": true, | |
| "presentation": { | |
| "focus": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // Use IntelliSense to find out which attributes exist for C# debugging | |
| // Use hover for the description of the existing attributes | |
| // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md | |
| "version": "0.2.0", | |
| "compounds": [ | |
| { | |
| "name": "Launch API & UI (Live Watch)", | |
| "configurations": ["UI Launch", "API Launch (Live Watch)"] | |
| } |