Skip to content

Commit

Permalink
hotfix: remote peertube list support for electron builder flow (#1223)
Browse files Browse the repository at this point in the history
  • Loading branch information
shpingalet007 authored Apr 9, 2024
1 parent 6413c9d commit bd2b386
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
12 changes: 3 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"start": "electron . --development",
"start:test": "electron . --development --test",
"pack": "electron-builder -w --dir --x64",
"build": "npm run dev:bastyon",
"build": "npm run build:proxy16 && npm run dev:bastyon",
"build:proxy16": "cd proxy16 && npm install && npm run build",
"dist": "electron-builder -w --x64 --ia32 -p never",
"distl": "electron-builder -l --x64 -p never",
Expand Down Expand Up @@ -117,7 +117,8 @@
"!proxy16/data${/*}",
"!proxy16/pocketcoin${/*}",
"!proxy16/pocketcoind${/*}",
"!proxy16/downloads${/*}"
"!proxy16/downloads${/*}",
"!proxy16/node_modules${/*}"
],
"extraFiles": [
{
Expand All @@ -128,13 +129,6 @@
"**/key.pem"
]
},
{
"from": "proxy16/tor",
"to": "tor",
"filter": [
"**/*"
]
},
{
"from": "proxy16/static",
"to": "static",
Expand Down
4 changes: 2 additions & 2 deletions proxy16/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ RUN apt-get update && apt-get install -y curl g++ make python3 pkg-config libpix
WORKDIR /usr/src/app
COPY . .

RUN npm install --dev && npm run build:proxy16 && rm -rf node_modules
RUN npm install --dev && npm run build && rm -rf node_modules

ENV NODE_ENV production
RUN npm install

RUN apt-get -y remove --purge --autoremove curl g++ make python3 pkg-config libpixman-1-dev libcairo2-dev libpango1.0-dev libgif-dev

ENTRYPOINT [ "/usr/local/bin/node", "cli.js", "--cli" ]
ENTRYPOINT [ "/usr/local/bin/node", "cli.js", "--cli" ]

0 comments on commit bd2b386

Please sign in to comment.