If I attach myself to the container and check the files inside /app I can see my host content inside valve\_controller, modify it, etc.

I can't see the files during the build process (RUN ls /app/ trows nothing). I need to verify the code and then compile it.

Are volumes mounted after the build generation?

Which option do I have that doesn't involve COPY?

```
version: '3.7'
services:
  valve_controller:
    container_name: "valve_controller"
    build:
      context: .
      dockerfile: ./valve_controller/Dockerfile
    working_dir: /app
    tty: true
    volumes:
      - ./valve_controller:/app

```

Dockerfile

```
VOLUME /app
RUN ls /app/

```