Merge pull request #2437 from alecmerdler/add-lockfile
Add Yarn Lockfile to Docker Build
This commit is contained in:
commit
f08e4921f2
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,7 @@ ADD package.json package.json
|
|||
ADD tsconfig.json tsconfig.json
|
||||
ADD webpack.config.js webpack.config.js
|
||||
ADD typings.json typings.json
|
||||
ADD yarn.lock yarn.lock
|
||||
RUN yarn install --ignore-engines
|
||||
|
||||
# Add static files
|
||||
|
@ -162,6 +163,7 @@ RUN rm -rf /usr/local/lib/node_modules
|
|||
RUN rm -rf /root/node_modules
|
||||
RUN rm -rf /node_modules
|
||||
RUN rm -rf /grunt
|
||||
RUN rm package.json yarn.lock
|
||||
|
||||
# Run the tests
|
||||
ENV RUN_ACI_TESTS False
|
||||
|
|
Reference in a new issue