skip to Main Content

What happens when we build a Docker image?

Suppose I have the .NET Framework 4.8 SDK and runtime installed on my local machine. I have a dockerfile having the base image instruction FROM mcr.microsoft.com/dotnet/framework/sdk:4.8. When I build the image, would it install the .NET Framework 4.8 SDK and…

VIEW QUESTION

docker compose up 'unable to access jarfile'

i trying run my application with docker Dockerfile FROM openjdk:latest CMD ["./mvmw", "clean", "package"] COPY target/doIt-0.0.1.jar app.jar RUN chmod 755 app.jar ENTRYPOINT ["java", "-jar", "app.jar"] docker-compose.yml version: '3' services: application: container_name: doIt_service build: dockerfile: Dockerfile ports: - "8081:8081" volumes: -…

VIEW QUESTION
Back To Top
Search