Implement deploy strategy for local development; refactor container to use startup script.

This commit is contained in:
Ben Binder
2025-03-07 21:10:03 -06:00
parent 74b91aa4fb
commit abb00b7688
8 changed files with 83 additions and 35 deletions

View File

@@ -0,0 +1,17 @@
services:
app:
container_name: harbormaster-server
image: harbormaster-server
build:
context: ..
dockerfile: docker/Dockerfile
target: builder
volumes:
- ../src:/root/src
- ../scripts:/root/scripts
ports:
- "7080:8080"
environment:
- ENV=development
# command: ["./harbormaster"]
command: ["/bin/bash","/root/scripts/startup.sh"]