build: add docker support
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- Add Dockerfile for containerized deployment - Add .drone.yml for CI/CD pipeline configuration - Add docker and docker-run targets to Makefile - Configure port 8080 binding and persistent volume mount
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: all frontend backend clean dev docker docker-run
|
||||
.PHONY: all frontend backend clean dev docker docker-run tests
|
||||
|
||||
all: frontend backend
|
||||
|
||||
@@ -21,3 +21,6 @@ docker:
|
||||
|
||||
docker-run:
|
||||
docker run -p 8080:8080 -v aethera-data:/app/data aethera
|
||||
|
||||
tests:
|
||||
cd backend && go test ./...
|
||||
|
||||
Reference in New Issue
Block a user