update docker-compose to build API service locally
All checks were successful
Build & Publish Docker Image / build-and-push (push) Successful in 44s
All checks were successful
Build & Publish Docker Image / build-and-push (push) Successful in 44s
Switch from using a pre-built remote image to building the API service from the local Dockerfile.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
services:
|
||||
api:
|
||||
image: git.lyzcoote.cloud/emly/api-golang:latest
|
||||
build:
|
||||
dockerfile: .
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${PORT:-8080}:8080"
|
||||
|
||||
Reference in New Issue
Block a user