Skip to content

Commit 640ce9a

Browse files
committed
Adds some docker commands
1 parent b63441e commit 640ce9a

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

.Dockerignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
src
2-
docs
3-
test
1+
*
2+
!bin

Dockerfile.dev

Lines changed: 0 additions & 13 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"build:clean": "rimraf dist",
1111
"build:transpile": "./node_modules/.bin/tsc",
1212
"build:copy": "cp -r ./src/lib/sql/ ./dist/lib/sql/",
13+
"docker:build": "docker build -t supabase/pg-api .",
14+
"docker:deploy": "docker push supabase/pg-api:latest",
1315
"dist": "NODE_ENV=production npm-run-all build dist:pkg",
1416
"dist:pkg": "rimraf bin && pkg --out-path ./bin dist/start.js",
1517
"dev": "NODE_ENV=development npm-run-all build server",

0 commit comments

Comments
 (0)