Skip to content

Commit 6d27ae4

Browse files
[feat] improve develop file
1 parent 20fe45e commit 6d27ae4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/guides/angular/develop.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ ENV NODE_ENV=development
5050
WORKDIR /app
5151

5252
# Copy only the dependency files first to optimize Docker caching
53-
COPY --link package.json package-lock.json ./
53+
COPY package.json package-lock.json ./
5454

5555
# Install dependencies using npm with caching to speed up subsequent builds
5656
RUN --mount=type=cache,target=/root/.npm npm ci
5757

5858
# Copy all application source files into the container
59-
COPY --link . .
59+
COPY . .
6060

6161
# Expose the port Angular uses for the dev server (default is 4200)
6262
EXPOSE 4200

0 commit comments

Comments
 (0)