Docker Build cannot find the DockerFile [BETA]

Expected behavior

$docker build -t hellonode .
Docker Build builds the container

Actual behavior

I get an error
Error response from daemon: Cannot locate specified Dockerfile: Dockerfile

Information

Contents of DockerFile
FROM node:4.2.3

EXPOSE 3000
COPY . /app
WORKDIR /app

RUN cd /app; npm install
CMD [“npm”,“start”]

Steps to reproduce the behavior

  1. $docker build -t hellonode .
  2. $Error response from daemon: Cannot locate specified Dockerfile: Dockerfile

May be you put your Dockerfile under the wrong positon.

nope, it is in the current dir

Never mind… No sleep - case problem on “Dockerfile”.

I cloned a repo that was created in windows!

Sorry

G

1 Like