Skip to content

Commit 582bc4b

Browse files
feat: Adding build to docker compose
No need to use part regular builds and part docker compose, just in for a penny in for a pound. #60
1 parent a7e011a commit 582bc4b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: nullinside-api
22
services:
33
nullinside-api:
4+
build:
5+
context: .
6+
tags:
7+
- "nullinside-api:latest"
48
logging:
59
driver: loki
610
options:

go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
docker build -t nullinside-api:latest .
1+
docker compose build
22
docker compose down
33
docker compose up -d

0 commit comments

Comments
 (0)