4 ms·
I agree. I didn’t know anything about Docker - and I am still no expert. I put our entire CI/CD pipeline based on two or three easy to follow articles. After
by scarface74 6y ago
I agree. I didn’t know anything about Docker - and I am still no expert. I put our entire CI/CD pipeline based on two or three easy to follow articles.
After you run
dotnet publish
https://aws.amazon.com/blogs/compute/hosting-asp-net-core-applications-in-amazon-ecs-using-aws-fargate/ https://aws.amazon.com/blogs/compute/hosting-asp-net-core-ap...
I never bothered to go through the manually steps. I used the CF template above.
Here is the complete Docker file for containerizing an ASP.Net Core API.
FROM microsoft/aspnetcore:2.0
WORKDIR /mymvcweb
COPY bin/Release/netcoreapp2.0/publish .
ENV ASPNETCORE_URLS http://+:5000
EXPOSE 5000
ENTRYPOINT ["dotnet", "mymvcweb.dll"]
When you create your registry in ECR. It gives you the Docker commands
Here is the CF Template:
https://github.com/1Strategy/fargate-cloudformation-example https://github.com/1Strategy/fargate-cloudformation-example