Skip to content

Commit

Permalink
df
Browse files Browse the repository at this point in the history
  • Loading branch information
Derick80 committed Apr 26, 2024
1 parent d39af2f commit d3f237f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ FROM base as deps

WORKDIR /myapp

ADD package.json package-lock.json .npmrc ./
ADD package.json package-lock.json ./
RUN npm install --include=dev

# Setup production node_modules
Expand All @@ -23,7 +23,7 @@ FROM base as production-deps
WORKDIR /myapp

COPY --from=deps /myapp/node_modules /myapp/node_modules
ADD package.json package-lock.json .npmrc ./
ADD package.json package-lock.json ./
RUN npm prune --omit=dev

# Build the app
Expand Down

0 comments on commit d3f237f

Please sign in to comment.