Category : c#

My Dockerfile looks like this: FROM mcr.microsoft.com/dotnet/framework/sdk:4.8 AS build WORKDIR /projectName COPY . . RUN nuget restore COPY . . WORKDIR /repoName/projectName RUN msbuild ./projectName.csproj /p:Configuration=Debug Locally, the msbuild step gives me no problems. Without a .dockerignore file, the build fails: Process is terminated due to StackOverflowException. When I add a .dockerignore file that looks ..

Read more

I’m building a aspnet core 3.1 web application with the goal to be hosted on an aws ec2 instance. My setup is as follows: EC2 instance running Debian 10 Nginx reverse proxy certbot for ssl certificate Docker running in swarm mode aspnet core 3.1 web application (docker) mssql database (docker) The web application and mssql ..

Read more

I’m building an ASP.NET Core 3.1 web application with the goal to be hosted on an AWS EC2 instance. My setup is as follows: EC2 instance running Debian 10 Nginx reverse proxy certbot for ssl certificate Docker running in swarm mode ASP.NET Core 3.1 web application (docker) SQL Server database (docker) The web application and ..

Read more

Docker compose deploys net core, it is normal under windows, centos reports an error。 > [[email protected] WebApplication1]# docker-compose build samplems.mysql > uses an image, skipping samplems.redis uses an image, skipping > Building webapplication1 Sending build context to Docker daemon > 34.82kB Step 1/16 : FROM mcr.microsoft.com/dotnet/aspnet:3.1 AS base —> a0d5ee7de37e Step 2/16 : WORKDIR /app ..

Read more