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