Disable npm update message when building docker files (resolves #75)
This commit is contained in:
parent
bc682a22a1
commit
16b89ce08b
|
@ -8,6 +8,7 @@ RUN ln -s $(which pip3) /usr/local/bin/pip
|
|||
WORKDIR /opt/obs/api
|
||||
|
||||
ADD package.json package-lock.json /opt/obs/api/
|
||||
RUN echo update-notifier=false >> ~/.npmrc
|
||||
RUN npm ci
|
||||
|
||||
ADD scripts /opt/obs/api/scripts/
|
||||
|
|
|
@ -2,6 +2,7 @@ FROM node:14
|
|||
|
||||
WORKDIR /opt/obs/frontend
|
||||
ADD package.json package-lock.json /opt/obs/frontend/
|
||||
RUN echo update-notifier=false >> ~/.npmrc
|
||||
RUN npm ci
|
||||
|
||||
ADD tsconfig.json craco.config.js /opt/obs/frontend/
|
||||
|
|
Loading…
Reference in a new issue