mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Merge pull request #212 from hugomd/fix/use-production
Install production dependencies with lockfile
This commit is contained in:
commit
9f9715f4a9
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ WORKDIR /build
|
||||||
COPY package.json yarn.lock /build/
|
COPY package.json yarn.lock /build/
|
||||||
|
|
||||||
# Install only the production dependencies
|
# Install only the production dependencies
|
||||||
RUN yarn install --frozen-lockfile
|
RUN yarn install --production --frozen-lockfile
|
||||||
|
|
||||||
# Cache these modules for production
|
# Cache these modules for production
|
||||||
RUN cp -R node_modules/ prod_node_modules/
|
RUN cp -R node_modules/ prod_node_modules/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue