Skip to content
Snippets Groups Projects
Commit 88e02495 authored by Neda Moeini's avatar Neda Moeini
Browse files

Updated comments in Dockerfile for the clarity.

parent a590e445
No related branches found
No related tags found
No related merge requests found
Pipeline #83812 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment