1
0
Fork 0
mirror of synced 2024-10-01 17:47:46 +13:00

Addressing PR comments

This commit is contained in:
Adria Navarro 2023-05-23 11:54:10 +02:00
parent 8b912dc8ed
commit d1ce04736e
2 changed files with 4 additions and 3 deletions

View file

@ -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/

View file

@ -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