1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

更新
Some checks failed
pigallery2 / pigallery2-Gitea-Actions (push) Failing after 5m50s

This commit is contained in:
xuthus 2024-07-06 23:14:22 +08:00
parent a54d4ff62d
commit c8b4f4c091
2 changed files with 6 additions and 2 deletions

View File

@ -19,6 +19,10 @@ jobs:
run: npm install --unsafe-perm
- name: Build with Npm create-release
run: npm run create-release -- --skip-opt-packages=ffmpeg-static,ffprobe-static --force-opt-packages
- uses: actions/upload-artifact@v4
with:
name: pigallery2-release
path: release
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
@ -27,7 +31,7 @@ jobs:
id: docker_build
uses: docker/build-push-action@v5
with:
context: ./
context: .
file: Dockerfile.build
push: true
tags: k2.xuthus83.cn:6001/pigallery2:latest

View File

@ -3,7 +3,7 @@
FROM node:18-alpine3.17 AS builder
RUN apk add --update-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.17/community/ \
python3 build-base sqlite-dev sqlite-libs vips-dev fftw-dev gcc g++ make libc6-compat && ln -snf /usr/bin/python3 /usr/bin/python
COPY release /app
COPY pigallery2-release /app
WORKDIR /app
RUN npm install --unsafe-perm
RUN mkdir -p /app/data/config && \