File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 9494 run : |
9595 npm ci
9696 npm run pkg
97- tar -czvf postgres-meta-linux.tar.gz -C ./bin postgres-meta -linux
98- tar -czvf postgres-meta-macos.tar.gz -C ./bin postgres-meta -macos
99- tar -czvf postgres-meta-windows.tar.gz -C ./bin postgres-meta -win.exe
97+ tar -czvf postgres-meta-linux.tar.gz -C ./bin app -linux
98+ tar -czvf postgres-meta-macos.tar.gz -C ./bin app -macos
99+ tar -czvf postgres-meta-windows.tar.gz -C ./bin app -win.exe
100100
101101 - name : Get upload url
102102 if : env.HAS_NEW_RELEASE == 1
Original file line number Diff line number Diff line change 22# docker run -t -i -p8080:8080 postgres-meta
33
44FROM debian:stable-slim
5- COPY ./bin/postgres-meta -linux /bin/
5+ COPY ./bin/app -linux /bin/
66ENV PG_META_PORT=8080
7- ENTRYPOINT "/bin/postgres-meta -linux"
7+ ENTRYPOINT "/bin/app -linux"
88EXPOSE 8080
Original file line number Diff line number Diff line change 77 "license" : " MIT" ,
88 "author" : " Supabase" ,
99 "files" : [
10- " dist" ,
11- " bin"
10+ " dist"
1211 ],
1312 "main" : " dist/main/index.js" ,
1413 "module" : " dist/module/index.js" ,
15- "bin" : {
16- "postgres-meta" : " bin/src/server/app.js"
17- },
1814 "repository" : " supabase/postgres-meta" ,
1915 "scripts" : {
2016 "clean" : " rimraf bin dist" ,
2420 "build:module" : " tsc -p tsconfig.module.json && cpy 'src/lib/sql/*.sql' dist/module/sql" ,
2521 "build:server" : " tsc -p tsconfig.server.json && cpy 'src/lib/sql/*.sql' bin/src/lib/sql" ,
2622 "start" : " node bin/src/server/app.js | pino-pretty --colorize --levelFirst" ,
27- "pkg" : " NODE_ENV=production run-s build:server && pkg --out-path bin . " ,
23+ "pkg" : " NODE_ENV=production run-s build:server && pkg --out-path bin bin/src/server/app.js " ,
2824 "dev" : " NODE_ENV=development run-s build start" ,
2925 "dev:watch" : " nodemon" ,
3026 "test" : " node -r esm ./node_modules/.bin/mocha 'test/**/*.js' --recursive "
You can’t perform that action at this time.
0 commit comments