diff --git a/.dockerignore b/.dockerignore index 7b1602b..5f1fb22 100644 --- a/.dockerignore +++ b/.dockerignore @@ -29,4 +29,3 @@ app/**/.vite *.njsproj *.sln *.sw? - diff --git a/Dockerfile b/Dockerfile index cb7d3d3..e898ba4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ USER $user WORKDIR $project_dir ## Copy file for YARN then install all deps -COPY --chown=$user .yarnrc.yml yarn.lock* package.json ./ +COPY --chown=$user .yarnrc.yml yarn.lock package.json ./ RUN yarn install --frozen-lockfile COPY --chown=$user . . diff --git a/docker-compose.yml b/docker-compose.yml index 213946c..a052f0d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: args: - NODE_ENV=development volumes: - - .:/opt/node_app/app:delegated + - ./:/opt/node_app/app:delegated - ./package.json:/opt/node_app/app/package.json - ./yarn.lock:/opt/node_app/app/yarn.lock:cached ports: