Skip to content

Commit b7f83df

Browse files
authored
Adjust Compose Watch example (#19631)
* adjust-compose-example * adjust-compose-example * adjust-compose-example
1 parent 3556183 commit b7f83df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

content/compose/file-watch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ FROM node:18-alpine
6363
RUN useradd -ms /bin/sh -u 1001 app
6464
USER app
6565

66+
# Install dependencies
67+
WORKDIR /app
68+
COPY package.json package.lock .
69+
RUN npm install
70+
6671
# Copy source files into application directory
6772
COPY --chown=app:app . /app
6873
```

0 commit comments

Comments
 (0)