update Dockerfile node image and use slim

old img: 1.6Gb new img: 820Mb :D
This commit is contained in:
lesion
2022-02-07 12:29:49 +01:00
parent 592acbdb19
commit 61f93d8019

View File

@@ -1,4 +1,4 @@
FROM node:buster
FROM node:17.4-slim
RUN yarn global remove gancio || true
RUN yarn cache clean
RUN yarn global add --latest --production --silent https://gancio.org/latest.tgz 2> /dev/null