Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Service Orchestrator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator
Commits
a12dffef
Commit
a12dffef
authored
1 year ago
by
Karel van Klink
Browse files
Options
Downloads
Patches
Plain Diff
include TRANSLATIONS_DIR as environment variable in the Docker image
parent
08e9f966
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!90
include TRANSLATIONS_DIR as environment variable in the Docker image
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-0
2 additions, 0 deletions
Dockerfile
with
2 additions
and
0 deletions
Dockerfile
+
2
−
0
View file @
a12dffef
...
...
@@ -18,6 +18,8 @@ EXPOSE 8080
# 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
# Set the environment variable for the translations directory
ENV
TRANSLATIONS_DIR=$(python3 -c "from os import path; import gso; print(path.join(path.split(gso.__file__)[0], 'translations'))" | tail -n 1)
# Start the FastAPI application
CMD
["uvicorn", "gso.main:app", "--host", "0.0.0.0", "--port", "8080"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment