Category: Docker

  • Docker–first part–part 17

    Trying to put the web into docker. In order to have easy builds for the developer,we copy the sln,then the csproj,then dotnet restore,then copy files. This way we get advantage of Docker caching. Created dockerForWebAPI.txt and run docker build -f dockerForWebAPI.txt  -t infovalutar .. Docker has not recursive copy – https://github.com/moby/moby/issues/15858 Solution: copy the .csproj…

  • BingoMeetings–4 steps to run in Docker both WebAPI and Site-part 22

    Now what I want to achieve is to run the WebAPI and Angular Site in docker. For this,we should compile the Angular site and copy into the WebAPI. Also,WebAPI should serve the index.html file generated by the Angular. Those are the 4 steps: 1. Ensure that  the Angular routes and WebAPI routes should be different…

  • VSCode and Docker

    I am super-excited about Docker – because it gives a new meaning about “ it works on my PC”! ( I have a presentation ready –   https://github.com/ignatandrei/presentations/tree/master/2019/shorts/DockerForDevs/ ) However,I want to state something more important: VSCode is now ready to open Docker Containers! You have to install: 1. Name: Docker Id: ms-azuretools.vscode-docker Description: Adds syntax…

  • C# integration testing in AzureDevOps with Docker containers– SqlServer and Cachet example

    Every software that we make depends on others. For Stankins,as a general ETL data,it is more important to be tested with real data providers.For example,we may want to take data from Sql Server and send to Cachet . How can we have a SqlServer and a Cachet up and running easy ? The obvious answer…