update Dockerfile node image and use slim
old img: 1.6Gb new img: 820Mb :D
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM node:buster
|
FROM node:17.4-slim
|
||||||
RUN yarn global remove gancio || true
|
RUN yarn global remove gancio || true
|
||||||
RUN yarn cache clean
|
RUN yarn cache clean
|
||||||
RUN yarn global add --latest --production --silent https://gancio.org/latest.tgz 2> /dev/null
|
RUN yarn global add --latest --production --silent https://gancio.org/latest.tgz 2> /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user