ยกเลิกการ copy package-lock.json ตอน production
This commit is contained in:
parent
768be704cf
commit
9c242dd57a
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ WORKDIR /app
|
||||||
COPY --from=build-stage /app/dist ./dist
|
COPY --from=build-stage /app/dist ./dist
|
||||||
|
|
||||||
# Install only production dependencies
|
# Install only production dependencies
|
||||||
COPY package*.json ./
|
COPY package.json ./
|
||||||
RUN npm ci --production
|
RUN npm ci --production
|
||||||
USER node
|
USER node
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue