From a48d8669456534e67ac23976ffea918eb0aa6f0d Mon Sep 17 00:00:00 2001 From: Allie Sadler <102604716+aevesdocker@users.noreply.github.com> Date: Thu, 11 Jul 2024 13:58:35 +0100 Subject: [PATCH] ENGDOCS-2152 (#20378) --- content/compose/file-watch.md | 4 ++-- content/includes/compose/deploy.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/compose/file-watch.md b/content/compose/file-watch.md index 58ed376e5e..7384678f16 100644 --- a/content/compose/file-watch.md +++ b/content/compose/file-watch.md @@ -54,13 +54,13 @@ by the configured user, use the `COPY --chown` flag: ```dockerfile # Run as a non-privileged user -FROM node:18-alpine +FROM node:18 RUN useradd -ms /bin/sh -u 1001 app USER app # Install dependencies WORKDIR /app -COPY package.json package.lock . +COPY package.json package-lock.json ./ RUN npm install # Copy source files into application directory diff --git a/content/includes/compose/deploy.md b/content/includes/compose/deploy.md index 4ac0e28ab9..6986dd89d7 100644 --- a/content/includes/compose/deploy.md +++ b/content/includes/compose/deploy.md @@ -1 +1 @@ -Deploy is an optional part of the Compose Specification. It is used to configure how services are deployed and managed in a Docker Swarm mode. Essentially, it provides a set of deployment specifications for managing the behavior of containers across different environments. \ No newline at end of file +Deploy is an optional part of the Compose Specification. It provides a set of deployment specifications for managing the behavior of containers across different environments. \ No newline at end of file