<p>I have a multi stage <code>Dockerfile</code></p>

<pre><code># Base Build
FROM alpine:3.7 AS base
RUN apk add --no-cache nodejs
WORKDIR /root/app
COPY . .

ARG TARGET_ENV
COPY .env.$TARGET_ENV .env
RUN rm .env.*

RUN npm set progress=false &amp;&amp; npm config set depth 0
RUN npm install --only=production
RUN cp -R node_modules prod_node_modules
RUN npm install
RUN npm run build

# Prod Build
FROM base AS release
COPY --from=base /root/app/prod_node_modules ./node_modules
COPY --from=base /root/app/package.json .
COPY --from=base /root/app/package-lock.json .
COPY --from=base /root/app/dist .
CMD npm start
EXPOSE 3000
</code></pre>

<p>I'd like to build my container and then run it locally.</p>

<p>It builds just fine but when I run it a hash is output, but the container is not running.</p>

<p><a href="https://i.stack.imgur.com/DDSKa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DDSKa.png" alt="enter image description here"></a></p>

<pre><code>docker build --build-arg TARGET_ENV=local -t express-app .

docker run -d -p 3000:3000 -it express-app
</code></pre>

Tim J
<p>Your container could be crashing on start. </p>

<p>Check the output of <code>$ docker run -p 3000:3000 -it express-app</code> for error messages.</p>
