From 88e02495493e5cf1af1f247eb2d8a0d098903e18 Mon Sep 17 00:00:00 2001
From: Neda Moeini <neda.moeini@GA0479-NMOEINI.local>
Date: Fri, 11 Aug 2023 13:21:21 +0200
Subject: [PATCH] Updated comments in Dockerfile for the clarity.

---
 Dockerfile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 1928aeed..ae2cef11 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,13 +8,16 @@ RUN pip install \
     geant-service-orchestrator==${ARTIFACT_VERSION}
 
 # Create the directory for the configuration and copy the example config into it
+# NOTE: a real config must be mounted at
+# /etc/gso/config.json when running the container
 RUN mkdir -p /etc/gso
 COPY gso/oss-params-example.json /etc/gso/config.json
 
-# Expose port 8000 for the FastAPI application
+# Expose port 8080 for the FastAPI application
 EXPOSE 8080
 
-# Set the environment variable for the configuration file
+# The app reads the configuration from this location.
+# No need to set environment variables in your docker-compose.
 ENV OSS_PARAMS_FILENAME=/etc/gso/config.json
 
 # Start the FastAPI application
-- 
GitLab