mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Install production dependencies with lockfile
This commit is contained in:
parent
17a40d15e3
commit
8fb2a8aa84
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ WORKDIR /build
|
|||
COPY package.json yarn.lock /build/
|
||||
|
||||
# Install only the production dependencies
|
||||
RUN yarn install --frozen-lockfile
|
||||
RUN yarn install --production --frozen-lockfile
|
||||
|
||||
# Cache these modules for production
|
||||
RUN cp -R node_modules/ prod_node_modules/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue