title: The command 'dotnet' not found in Dockerfile
body: <p>I trie to build an image with docker to run a project, but When i run docker build, the step 5/12:</p>
  
  <p><strong>/bin/sh: 1: dotnet: not found
  The command '/bin/sh -c dotnet restore' returned a non-zero code: 127</strong></p>
  
  <p>Note: I'm running .Net Core and Node Modules, so i put all in the Dockerfile, is that OK? I'm new with Docker</p>
  
  <p>This is my dockerfile:</p>
  
  <pre><code># Otenemos el SDK de .Net Core en la versión 2.1
  FROM microsoft/dotnet:2.1-sdk
  FROM node:11
  WORKDIR /FrontEnd
  
  #Copiamos el archivo .csproj y restauramos paquetes.
  COPY *.csproj ./
  RUN dotnet restore
  COPY package.json ./
  RUN npm install
  
  # Copiamos todo lo demás
  COPY . ./
  
  FROM microsoft/dotnet:2.1-aspnetcore-runtime
  WORKDIR /FrontEnd
  
  ENTRYPOINT [ "dotnet", "run" ] 
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>This is my new Dockerfile
  Seems working in console, but in Chrome doesn't.</p>
  
  <p>This is the command that i run in console:
  docker run --rm name_proj:latest</p>
  
  <pre><code>FROM microsoft/dotnet:2.1-sdk AS build
  WORKDIR /FrontEnd
  COPY *.csproj ./
  COPY package.json ./
  RUN dotnet restore
  RUN apt-get update -yq &amp;&amp; apt-get upgrade -yq &amp;&amp; apt-get install -yq curl git nano
  RUN curl -sL https://deb.nodesource.com/setup_11.x | bash - &amp;&amp; apt-get install -yq nodejs build-essential
  RUN npm install -g npm
  RUN npm install
  COPY . ./
  
  #FROM microsoft/dotnet:2.1-aspnetcore-runtime
  
  ENTRYPOINT [ "dotnet", "run" ]
  </code></pre>
  
  <p>The log in console:
  <a href="https://i.stack.imgur.com/IbgMs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IbgMs.png" alt="enter image description here"></a></p>
  
  <p>When i open localhost:5001 is not working </p>