This file contains 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
# editor configs | |
Properties | |
.vscode | |
.editorconfig | |
.prettierrc | |
.stylelintrc.json | |
# code binaries | |
bin | |
obj |
This file contains 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 mcr.microsoft.com/dotnet/core/sdk:2.2 AS base | |
WORKDIR /src | |
# Copy only the project file. | |
# We copied only the project file and not the complete source code | |
# to leaverage the docker's caching capabilities thereby optimizing up the build time. | |
COPY ["CoreApi.csproj", "./"] | |
# Restore the packages | |
RUN dotnet restore "./CoreApi.csproj" |
This file contains 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
user root; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
events { | |
worker_connections 1024; | |
} |
This file contains 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)"] | |
} |
This file contains 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 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 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 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 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 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: |
NewerOlder