Docker-compose up missing files

My question is simple , when docker-compose build : some new folders will be generated using npm run prod command , I’ve added in my Dockerfile “ls -lhtr the_missingFolder” and I can see it’s there.

After complete building I ran docker-compose up >> Boomm the folder not in the container , why ?

How can I fix that please.

FROM ubuntu:16.04

RUN apt-get update && apt install -y build-essential

RUN apt-get update -y && apt-get install -y openssl zip unzip git libpng-dev zlib1g-dev libicu-dev libtool g++

RUN apt-get update && apt-get install -y –no-install-recommends apt-utils

RUN apt install -y composer

RUN apt-get install -y curl wget

RUN apt-get install -y autoconf automake pkg-config libgtk-3-dev nasm

RUN apt-get clean && apt-get update && apt-get install -y locales
RUN locale-gen en_US en_US.UTF-8

RUN apt-get install -y python-software-properties

RUN apt-get install -y software-properties-common

RUN LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php

RUN apt-get update

RUN apt install -y php7.1-fpm php7.1-mbstring php7.1-xmlrpc php7.1-soap
php7.1-gd php7.1-xml php7.1-cli php7.1-zip php7.1-pgsql php7.1-curl

RUN curl -sL https://deb.nodesource.com/setup_11.x | bash –

RUN apt-get install -y nodejs

RUN mkdir -p /usr/src/app

WORKDIR /usr/src/app

COPY . ./

COPY package*.json ./

RUN cp .env.docker .env

RUN npm install

RUN npm run prod

COPY . /usr/src/app/

WORKDIR /usr/src/app

RUN composer update

RUN composer install –no-interaction –prefer-dist –optimize-autoloader

RUN php artisan config:clear

RUN php artisan optimize

CMD bash -c “php artisan db:seed –class=Appmoduleroledatabaseseedrole”

CMD bash -c “php artisan db:seed –class=Appmodulenotificationdatabaseseednotification”

CMD bash -c “php artisan notifications:generate-files”

CMD bash -c “php artisan migrate”

CMD bash -c “composer install && php artisan serve –host=0.0.0.0 –port=8000”

EXPOSE 8000

Best regards

Source: StackOverflow