chore: add multistage build to optimize the image size
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
version: "3.9"
|
||||
|
||||
version: "3.9"
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
@@ -12,7 +11,7 @@ services:
|
||||
ports:
|
||||
- 5432:5432
|
||||
yauth:
|
||||
build: .
|
||||
image: lakhansamani/yauth:0.1.0-beta.0
|
||||
ports:
|
||||
- 8080:8080
|
||||
depends_on:
|
||||
|
Reference in New Issue
Block a user