dockerfile run

  docker, question

Project directory


This is the two main documents

docker build

docker build -t apps/apps .

There will be an error after execution

Step 8 : RUN docker/
 ---> Running in 019abf9e5ec8
 /bin/sh: docker/ not found
 The command '/bin/sh -c docker/' returned a non-zero code: 127

Part of dockerfile

COPY . /app/apps/
 WORKDIR /app/apps/
 RUN ./docker/

Clearly there is this document under the current project, why did the prompt not find it?

COPY . /app/apps/
 WORKDIR /app/apps/
 RUN /docker/