From 7102df478de6ad6158e0c8a1bd7ba64ad418d02e Mon Sep 17 00:00:00 2001 From: lesion Date: Mon, 8 Aug 2022 00:05:37 +0200 Subject: [PATCH] update Dockerfile --- Dockerfile => docs/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename Dockerfile => docs/Dockerfile (72%) diff --git a/Dockerfile b/docs/Dockerfile similarity index 72% rename from Dockerfile rename to docs/Dockerfile index c5cf7b9e..269cc579 100644 --- a/Dockerfile +++ b/docs/Dockerfile @@ -1,10 +1,10 @@ -FROM debian:stable-slim AS nodejs-base +FROM node:16-slim AS nodejs-base RUN apt-get -q update && \ - env DEBIAN_FRONTEND=noninteractive apt-get -y install git nodejs yarnpkg && \ + env DEBIAN_FRONTEND=noninteractive apt-get -y install git && \ apt-get clean && rm -fr /var/lib/apt/lists/* FROM nodejs-base AS build -RUN yarnpkg global add --network-timeout 1000000000 --latest --production --silent http://192.168.0.178:8080/l.tgz && \ +RUN yarnpkg global add --network-timeout 1000000000 --latest --production --silent https://gancio.org/latest.tgz && \ apt-get clean && rm -fr /var/lib/apt/lists/* && \ yarnpkg cache clean