From d5c57b1c0fc0a1f2023c5432633dcafc35e343f6 Mon Sep 17 00:00:00 2001 From: Daniele Viti Date: Thu, 5 Jun 2025 01:40:24 +0200 Subject: [PATCH] Update docker-compose.yaml --- docker-compose.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 23e5b3a..bf9de81 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,14 +4,14 @@ services: electricity-calculator-web: # Option 1: Build from the local Dockerfile # This is useful for local development if you are making changes to the Dockerfile or app code. - build: - context: . # Use the current directory as the build context (where Dockerfile is) - dockerfile: Dockerfile # Specifies the name of the Dockerfile + #build: + # context: . # Use the current directory as the build context (where Dockerfile is) + # dockerfile: Dockerfile # Specifies the name of the Dockerfile # Option 2: Use an existing image from a registry (e.g., GitHub Container Registry) # Uncomment the line below and comment out the 'build' section above if you want to use a pre-built image. # Make sure to replace 'YOUR_USERNAME/YOUR_REPOSITORY' with your actual GHCR path. - # image: ghcr.io/YOUR_USERNAME/electricity-calculator-app:latest + image: ghcr.io/dnviti/electricity-calculator-app:latest container_name: electricity_calculator_nginx # A friendly name for the running container