piclist 1.7.10 → 1.7.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,6 +29,7 @@ jobs:
29
29
  file: ./Dockerfile
30
30
  push: true
31
31
  tags: kuingsmile/piclist:latest
32
+ platforms: linux/amd64,linux/arm64
32
33
 
33
34
  - name: Build and Push Docker Image with Tag
34
35
  if: startsWith(github.ref, 'refs/tags/')
@@ -38,3 +39,4 @@ jobs:
38
39
  file: ./Dockerfile
39
40
  push: true
40
41
  tags: kuingsmile/piclist:${{ github.ref_name }}
42
+ platforms: linux/amd64,linux/arm64
package/Dockerfile CHANGED
@@ -1,6 +1,8 @@
1
1
  FROM node:lts-alpine
2
-
3
- RUN yarn config set registry https://registry.npmmirror.com/ && \
2
+ RUN yarn config set network-timeout 300000 && \
3
+ #apk add g++ make py3-pip && \
4
+ #yarn global add node-gyp && \
5
+ yarn config set registry https://registry.npmmirror.com/ && \
4
6
  yarn config set sharp_binary_host "https://npmmirror.com/mirrors/sharp" && \
5
7
  yarn config set sharp_libvips_binary_host "https://npmmirror.com/mirrors/sharp-libvips" && \
6
8
  yarn global add piclist && \
package/README.md CHANGED
@@ -65,7 +65,7 @@ You can use docker to run PicList-Core.
65
65
 
66
66
  #### docker run
67
67
 
68
- Change the `./piclist` to your own path, and change the `piclist123456` to your own secret key.
68
+ Change the `./piclist` to your own path, this path is where you put your `config.json` file, and change the `piclist123456` to your own secret key.
69
69
 
70
70
  ```bash
71
71
  docker run -d \
@@ -96,7 +96,7 @@ services:
96
96
  command: node /usr/local/bin/picgo-server -k piclist123456
97
97
  ```
98
98
 
99
- You can change the `volumes` to your own path and change the `command` to your own secret key.
99
+ You can change the `./piclist` to your own path, this path is where you put your `config.json` file, and change the `command` to your own secret key.
100
100
 
101
101
  Then run:
102
102