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
Jira
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
Merge requests
!90
include TRANSLATIONS_DIR as environment variable in the Docker image
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
include TRANSLATIONS_DIR as environment variable in the Docker image
feature/update-dockerfile
into
develop
Overview
35
Commits
8
Pipelines
11
Changes
2
Merged
Karel van Klink
requested to merge
feature/update-dockerfile
into
develop
1 year ago
Overview
20
Commits
8
Pipelines
11
Changes
2
Expand
0
0
Merge request reports
Compare
develop
version 10
b0e13329
1 year ago
version 9
567f6356
1 year ago
version 8
ec160e45
1 year ago
version 7
e39b526c
1 year ago
version 6
fb57ae23
1 year ago
version 5
fc0be1c4
1 year ago
version 4
523ea072
1 year ago
version 3
8a2945df
1 year ago
version 2
1f529bba
1 year ago
version 1
15460b3e
1 year ago
develop (base)
and
latest version
latest version
c530567b
8 commits,
1 year ago
version 10
b0e13329
7 commits,
1 year ago
version 9
567f6356
6 commits,
1 year ago
version 8
ec160e45
5 commits,
1 year ago
version 7
e39b526c
10 commits,
1 year ago
version 6
fb57ae23
4 commits,
1 year ago
version 5
fc0be1c4
4 commits,
1 year ago
version 4
523ea072
3 commits,
1 year ago
version 3
8a2945df
2 commits,
1 year ago
version 2
1f529bba
1 commit,
1 year ago
version 1
15460b3e
1 commit,
1 year ago
2 files
+
23
−
13
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
Dockerfile
+
13
−
13
Options
FROM
python:3.11
FROM
python:3.11-alpine
WORKDIR
/app
ARG
ARTIFACT_VERSION
RUN
apk add
--no-cache
gcc libc-dev libffi-dev
&&
\
addgroup
-S
appgroup
&&
adduser
-S
appuser
-G
appgroup
-h
/app
RUN
pip
install
\
--pre
\
--extra-index-url
https://artifactory.software.geant.org/artifactory/api/pypi/geant-swd-pypi/simple
\
--target
/app
\
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 8080 for the FastAPI application
EXPOSE
8080
# Set the environment variable for the translations directory
ENV
TRANSLATIONS_DIR=/app/gso/translations/
# 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
COPY
--chmod=755 entrypoint.sh /app/entrypoint.sh
# Start the FastAPI application
CMD
["uvicorn", "gso.main:app", "--host", "0.0.0.0", "--port", "8080"]
RUN
chown
-R
appuser:appgroup /app
USER
appuser
EXPOSE
8080
ENTRYPOINT
["/app/entrypoint.sh"]
Loading