minor with Dockerfile
This commit is contained in:
@@ -1,15 +1,13 @@
|
|||||||
FROM debian:stable-slim AS nodejs-base
|
FROM debian:stable-slim AS nodejs-base
|
||||||
RUN apt-get -q update && \
|
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/*
|
apt-get clean && rm -fr /var/lib/apt/lists/*
|
||||||
|
|
||||||
FROM nodejs-base AS build
|
FROM nodejs-base AS build
|
||||||
RUN apt-get -q update && \
|
RUN yarnpkg global add --latest --production --silent http://gancio.org/latest.tgz && \
|
||||||
env DEBIAN_FRONTEND=noninteractive apt-get -y install git yarnpkg && \
|
|
||||||
yarnpkg global add --latest --production --silent http://192.168.10.159:8080/l.tgz && \
|
|
||||||
apt-get clean && rm -fr /var/lib/apt/lists/*
|
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/
|
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
|
RUN ln -s ../share/.config/yarn/global/node_modules/.bin/gancio /usr/local/bin/gancio
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gancio",
|
"name": "gancio",
|
||||||
"version": "1.5.0-rc.7",
|
"version": "1.5.0-rc.8",
|
||||||
"description": "A shared agenda for local communities",
|
"description": "A shared agenda for local communities",
|
||||||
"author": "lesion",
|
"author": "lesion",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user