From 547bfd86d06ae37b7e1e98fb0db763467105dd8a Mon Sep 17 00:00:00 2001 From: lesion Date: Thu, 23 Jun 2022 17:11:51 +0200 Subject: [PATCH] minor with Dockerfile --- docs/docker/Dockerfile | 8 +++----- package.json | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/docker/Dockerfile b/docs/docker/Dockerfile index 79d2b0d4..b15466d1 100644 --- a/docs/docker/Dockerfile +++ b/docs/docker/Dockerfile @@ -1,15 +1,13 @@ FROM debian:stable-slim AS nodejs-base RUN apt-get -q update && \ - env DEBIAN_FRONTEND=noninteractive apt-get -y install nodejs && \ + env DEBIAN_FRONTEND=noninteractive apt-get -y install git nodejs yarnpkg && \ apt-get clean && rm -fr /var/lib/apt/lists/* FROM nodejs-base AS build -RUN apt-get -q update && \ - env DEBIAN_FRONTEND=noninteractive apt-get -y install git yarnpkg && \ - yarnpkg global add --latest --production --silent http://192.168.10.159:8080/l.tgz && \ +RUN yarnpkg global add --latest --production --silent http://gancio.org/latest.tgz && \ apt-get clean && rm -fr /var/lib/apt/lists/* -FROM nodejs-base AS gancio +FROM nodejs-base COPY --from=build /usr/local/share/.config/yarn/ /usr/local/share/.config/yarn/ RUN ln -s ../share/.config/yarn/global/node_modules/.bin/gancio /usr/local/bin/gancio diff --git a/package.json b/package.json index 2787f2c8..37744ab3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gancio", - "version": "1.5.0-rc.7", + "version": "1.5.0-rc.8", "description": "A shared agenda for local communities", "author": "lesion", "scripts": {