I am working with a django angular project. I am using python3 so I want a container where node 6.4.0 and python3 will be installed. I have node:6.4.0 and python:3.4 images in my docker.
Now I want another images named py3node. I am trying this way:
Dockerfile:
FROM node:6.4.0 FROM python:3.4docker build -t py3node
output: Sending build context to Docker daemon 8.192 kB Step 1 : FROM node:6.4.0 ---> 800da22d0e7b Step 2 : FROM python:3.4 ---> 93bc8e41eb8c Successfully built 93bc8e41eb8c
Then I run:
docker run -it py3node /bin/bash
root@092724f514:/# node -v
output:
bash: node: command not found
But python3 works. Why node:6.4.0 is not working?