No such file or directory

hi everyone,
i´m new to docker and i have problems at the beginning…

if i try to mount my local folder and files to the docker container, i get alway the same error: no such file or directory.
but if download a project from github and try to run it, it runs without any problems. It seems to be, that only if i creat a file by myself, that they can´t be found.

Does someone have a solution for that problem?

Version of docker: 1.13.0 build 49bf474
Version docker-compose: 1.10.0 build 4bd6f1a
Version of docker-machine: 0.9.0 build 15fd4c7

my directory is to find under: /Users/andreas/Documents/test
Operating system: Mac Os

Project structure:

-test
-IDServer
-docker
Dockerfile
-src
Config.cs
Programm.cs
project.json
Startup.cs
docker-compose.yml
NuGet.Config

docker-compose:

version: '2'

services:
  identityserver:
    container_name: identityserver
    build: ./IdentityServer/docker
    volumes:
      - ./IdentityServer/:/app/
    environment:
      - ASPNETCORE_ENVIRONMENT=Development
    ports:
      - "5000:5000"

Dockerfile:

FROM microsoft/dotnet:1.0.0-preview2-onbuild

COPY ./src/project.json /app/
COPY ./NuGet.Config /app/

WORKDIR /app/

RUN dotnet restore

ADD ./IdentityServer/ /app/

EXPOSE 5000
ENTRYPOINT ["dotnet", "run"]

in this example can´t be found the project.json and the NuGet.Config

Thanks in advance

I have the same question. Have you solved it