Menu

📰
0

Reddit - Please wait for verification

Docker: An open source project to pack, ship and run any application as a lightweight containers·/u/Frequent-Basis1818·3 days ago
#pRPz4hY4
Reading 0:00
15s threshold

Hey everyone, I'm currently learning Docker because I want to use this technology to ship ready to run containers for my web apps. So far I have created a very basic project which contains a Blazor Web App with interactive server side rendering and a web api which should be utilized by the web app. The code is available on GitHub right here: https://github.com/MarvinKlein1508/DockerSample The app builds fine and the api is also working. However I have a few question regarding the code of this project. The docker-compose.yml contains this code: services: blazorwebapp: image: ${DOCKER_REGISTRY-}blazorwebapp container_name: mk_test build: context: . dockerfile: src/BlazorWebApp/Dockerfile ports: - "5000:5000" - "5001:5001" blazorwebapp.api: image: ${DOCKER_REGISTRY-}blazorwebapp.api container_name: mk_test_api build: context: .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More