gancio/docs/docker/Dockerfile
lesion 61f93d8019
update Dockerfile node image and use slim
old img: 1.6Gb new img: 820Mb :D
2022-02-07 12:29:49 +01:00

7 lines
266 B
Docker

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
ADD entrypoint.sh /
RUN chmod 755 /entrypoint.sh
ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ]