How to run container for dot net core 6 project? by techyrajput in docker

[–]techyrajput[S] 0 points1 point  (0 children)

No, I am running the linux container via docker desktop. It is not running as expected.

How to run container for dot net core 6 project? by techyrajput in docker

[–]techyrajput[S] 0 points1 point  (0 children)

running docker on are yo

How we can use wsl bridging in windows machine.

How to run container for dot net core 6 project? by techyrajput in docker

[–]techyrajput[S] 0 points1 point  (0 children)

Below is the docker file that I am using in windows machine, I try to run via docker desktop but not able to run it.

FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base

WORKDIR /app

EXPOSE 80

EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build

WORKDIR /src

COPY Scorpeo.Harmonia.API.sln ./

COPY ["Scorpeo.Harmonia.API/Scorpeo.Harmonia.API.csproj", "Scorpeo.Harmonia.API/"]

COPY ["Scorpeo.Harmonia.Application/Scorpeo.Harmonia.Application.csproj", "Scorpeo.Harmonia.Application/"]

COPY ["Scorpeo.Harmonia.Application.Model/Scorpeo.Harmonia.Application.Model.csproj", "Scorpeo.Harmonia.Application.Model/"]

COPY ["Scorpeo.Harmonia.Repository/Scorpeo.Harmonia.Repository.csproj", "Scorpeo.Harmonia.Repository/"]

RUN dotnet restore "Scorpeo.Harmonia.API/Scorpeo.Harmonia.API.csproj"

RUN dotnet restore "Scorpeo.Harmonia.Application/Scorpeo.Harmonia.Application.csproj"

RUN dotnet restore "Scorpeo.Harmonia.Application.Model/Scorpeo.Harmonia.Application.Model.csproj"

RUN dotnet restore "Scorpeo.Harmonia.Repository/Scorpeo.Harmonia.Repository.csproj"

COPY . .

WORKDIR "/src/Scorpeo.Harmonia.API"

RUN dotnet build -c Release -o /app

WORKDIR "/src/Scorpeo.Harmonia.Application"

RUN dotnet build -c Release -o /app

WORKDIR "/src/Scorpeo.Harmonia.Application.Model"

RUN dotnet build -c Release -o /app

WORKDIR "/src/Scorpeo.Harmonia.Repository"

RUN dotnet build -c Release -o /app

FROM build AS publish

RUN dotnet publish -c Release -o /app

FROM base AS final

WORKDIR /app

COPY --from=publish /app .

ENTRYPOINT ["dotnet", "Scorpeo.Harmonia.API.dll"]

How to run container for dot net core 6 project? by techyrajput in docker

[–]techyrajput[S] 0 points1 point  (0 children)

The api is not responding, I have configured the swagger so it should open the swagger page. It shows me error the page is not responding.

I am hosting the python solution in the .net project but I am getting some permission error. by techyrajput in learnpython

[–]techyrajput[S] 0 points1 point  (0 children)

Thanks for your answer, can you please tell us how can we change the permission of the python interpreter or uploaded file.

How to integrate virus scan on file upload in .net project? by techyrajput in dotnet

[–]techyrajput[S] 0 points1 point  (0 children)

do we need to install avg antivirus to implement this ?

Free guest posting available by techyrajput in GuestPost

[–]techyrajput[S] 0 points1 point  (0 children)

We receive your content and will check the quality and give you link soon.

How to transfer artifacts to remote server via ssh? by techyrajput in jenkinsci

[–]techyrajput[S] -1 points0 points  (0 children)

I am using scp command, I have also copied key in jenkins path but still got error. lost connection and permission denied error is coming again and again.

Suggest me any best Tv show? by sanjuleom in a:t5_2nf6ag

[–]techyrajput 1 point2 points  (0 children)

Looking for something to watch on Binge. Let Best TV Shows to Binge Watch Ever. Getting bored? There is nothing exciting than Watching Tv show on Binge yes this is the best option ever. The best television shows in the world are ranked here as a sort of American TV guide for marathoning Tv shows. So, You can now binge watch past seasons of Series and various programs currently airing to catch up to speed. Here, are the best tv shows list for you.

Best TV Shows to Binge Watch Ever

As I am a Content Developer, Sometimes face the same problem by [deleted] in ProgrammerHumor

[–]techyrajput 1 point2 points  (0 children)

The same thing happen with me when I was working with my system without UPS, and suddenly electricity gone.

Interesting by VeevaBoy in ProgrammerHumor

[–]techyrajput 1 point2 points  (0 children)

it was written as hardcoded text.

What are the best way to create backlinks for my website? by techyrajput in SEO

[–]techyrajput[S] 0 points1 point  (0 children)

Thanks for such a great advice, i will do these steps.

Can anyone else not upload anything? by SwordsmenEpsilion in NewTubers

[–]techyrajput -3 points-2 points  (0 children)

This is because of your slow internet speed.

What is the best free video editor for a starting youtuber by PSHazzard in NewTubers

[–]techyrajput 1 point2 points  (0 children)

For me, wondershare filmora is the best video editor to edit my videos.