Consider the docker-compose :
employee_app:
container_name: EmployeeContainer
build:
context: .
dockerfile: Dockerfile
ports:
- "9999:3000"
depends_on:
- elastic
... more services
And the Dockerfile of employee app :
FROM node:14
COPY . /app
WORKDIR /app/
RUN npm i
ENTRYPOINT npm start
....
I have a lot of folders in the employee app and when I docker-compose up it copies everything , except for the .test.js files.
Why ?