Skip to content

Commit

Permalink
fix: makefile and docker-compose fix issues
Browse files Browse the repository at this point in the history
Remove obsolete version section from docker-compose
Add build command to buildx, to be compatible with linux native systems
  • Loading branch information
Michal Krzyz authored and michalkrzyz committed Jul 25, 2024
1 parent df94ac6 commit 02b4e3a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ echo:
echo "version:" $(VERSION)

build-image:
docker buildx -t $(SERVER_IMAGE):$(VERSION) -t $(SERVER_IMAGE):latest . --load
docker buildx build -t $(SERVER_IMAGE):$(VERSION) -t $(SERVER_IMAGE):latest . --load

push:
docker push $(SERVER_IMAGE):$(VERSION)
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

# This docker-compose file is used to run the application localy in containarized environment.
# ensure to set .env file accordingly
version: '3.8'

services:
heureka-db:
image: mariadb:latest
Expand Down

0 comments on commit 02b4e3a

Please sign in to comment.