File tree 3 files changed +7
-11
lines changed
3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 94
94
run : |
95
95
npm ci
96
96
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
100
100
101
101
- name : Get upload url
102
102
if : env.HAS_NEW_RELEASE == 1
Original file line number Diff line number Diff line change 2
2
# docker run -t -i -p8080:8080 postgres-meta
3
3
4
4
FROM debian:stable-slim
5
- COPY ./bin/postgres-meta -linux /bin/
5
+ COPY ./bin/app -linux /bin/
6
6
ENV PG_META_PORT=8080
7
- ENTRYPOINT "/bin/postgres-meta -linux"
7
+ ENTRYPOINT "/bin/app -linux"
8
8
EXPOSE 8080
Original file line number Diff line number Diff line change 7
7
"license" : " MIT" ,
8
8
"author" : " Supabase" ,
9
9
"files" : [
10
- " dist" ,
11
- " bin"
10
+ " dist"
12
11
],
13
12
"main" : " dist/main/index.js" ,
14
13
"module" : " dist/module/index.js" ,
15
- "bin" : {
16
- "postgres-meta" : " bin/src/server/app.js"
17
- },
18
14
"repository" : " supabase/postgres-meta" ,
19
15
"scripts" : {
20
16
"clean" : " rimraf bin dist" ,
24
20
"build:module" : " tsc -p tsconfig.module.json && cpy 'src/lib/sql/*.sql' dist/module/sql" ,
25
21
"build:server" : " tsc -p tsconfig.server.json && cpy 'src/lib/sql/*.sql' bin/src/lib/sql" ,
26
22
"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 " ,
28
24
"dev" : " NODE_ENV=development run-s build start" ,
29
25
"dev:watch" : " nodemon" ,
30
26
"test" : " node -r esm ./node_modules/.bin/mocha 'test/**/*.js' --recursive "
You can’t perform that action at this time.
0 commit comments