Addressing PR comments
This commit is contained in:
parent
8b912dc8ed
commit
d1ce04736e
|
@ -27,9 +27,9 @@ COPY scripts/integrations/oracle/ scripts/integrations/oracle/
|
|||
RUN /bin/bash -e scripts/integrations/oracle/instantclient/linux/x86-64/install.sh
|
||||
|
||||
COPY package.json .
|
||||
RUN yarn \
|
||||
&& yarn cache clean
|
||||
RUN apt-get remove -y --purge --auto-remove g++ make python \
|
||||
RUN yarn
|
||||
# Remove unneeded data from file system to reduce image size
|
||||
RUN yarn cache clean && apt-get remove -y --purge --auto-remove g++ make python \
|
||||
&& rm -rf /tmp/* /root/.node-gyp /usr/local/lib/node_modules/npm/node_modules/node-gyp
|
||||
|
||||
COPY dist/ dist/
|
||||
|
|
|
@ -14,6 +14,7 @@ RUN yarn global add pm2
|
|||
|
||||
COPY dist/package.json .
|
||||
RUN yarn
|
||||
# Remove unneeded data from file system to reduce image size
|
||||
RUN apk del .gyp \
|
||||
&& yarn cache clean
|
||||
|
||||
|
|
Loading…
Reference in New Issue