diff --git a/docker-compose.yaml b/docker-compose.yaml index c64e787..283a014 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -18,9 +18,12 @@ services: # Rust application that connects to either local or remote PostgreSQL rust-app: + image: rust-backend # Use the built image build: context: . # Build context is current directory dockerfile: Dockerfile # Use specified Dockerfile + target: runtime # Use runtime target + platform: linux/arm64 # Specify the platform container_name: rust-app # Name the container "rust-app" environment: POSTGRES_USER: ${POSTGRES_USER} # Set PostgreSQL user from environment variable