Skip to content

Commit

Permalink
Merge pull request #648 from Hi-Windom/v0.31
Browse files Browse the repository at this point in the history
更新 Release Docker Image 工作流 #644
  • Loading branch information
Soltus authored Apr 23, 2024
2 parents 433e5cc + 3fcf4c9 commit 62e5d90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 62e5d90

Please sign in to comment.