From 3fcf4c90836d6ec9326ab9ea97c92934ac238089 Mon Sep 17 00:00:00 2001 From: Soltus Date: Tue, 23 Apr 2024 21:45:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Release=20Docker=20Image?= =?UTF-8?q?=20=E5=B7=A5=E4=BD=9C=E6=B5=81=20#644?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 +++-- app/package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 463c009923..3b0c903aa4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,7 @@ FROM node:20 as NODE_BUILD WORKDIR /Hi-Windom/Sillot/ ADD . /Hi-Windom/Sillot/ RUN apt-get update && \ - apt-get install -y jq && \ - rm -rf /var/lib/apt/lists/* + apt-get install -y jq RUN cd app && \ packageManager=$(jq -r '.packageManager' package.json) && \ if [ -n "$packageManager" ]; then \ @@ -15,6 +14,8 @@ fi && \ pnpm install --registry=http://registry.npmjs.org/ --silent && \ pnpm run docker:build RUN apt-get purge -y jq +RUN apt-get autoremove -y +RUN rm -rf /var/lib/apt/lists/* FROM golang:alpine as GO_BUILD WORKDIR /Hi-Windom/Sillot/ diff --git a/app/package.json b/app/package.json index b7872c3848..4390c9e8a1 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "sillot", - "version": "0.31.1240", + "version": "0.31.1250", "syv": "3.0.12", "sypv": "[]", "description": "Build Your Eternal Digital Garden",