Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SOIL Backend
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
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WZL-IQS-Public
Sensor Interfacing Language (SOIL)
SOIL Backend
Commits
c9dd7541
Commit
c9dd7541
authored
6 months ago
by
Henrik Timmermanns
Browse files
Options
Downloads
Patches
Plain Diff
load resources during image build instead of deployment
parent
31dc7f00
Branches
main
No related tags found
No related merge requests found
Pipeline
#520840
passed
5 months ago
Stage: build
Stage: deploy
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
docker-compose.yml
+1
-1
1 addition, 1 deletion
docker-compose.yml
with
2 additions
and
2 deletions
Dockerfile
+
1
−
1
View file @
c9dd7541
...
@@ -16,7 +16,7 @@ RUN pip3 install -r requirements.txt --break-system-package
...
@@ -16,7 +16,7 @@ RUN pip3 install -r requirements.txt --break-system-package
# 4. Copy all required source files and resources (i.e., the jar-build of the Monticore based SOIL tool)
# 4. Copy all required source files and resources (i.e., the jar-build of the Monticore based SOIL tool)
COPY
./src ./src
COPY
./src ./src
#
COPY ./resources ./resources
COPY
./resources ./resources
WORKDIR
./src
WORKDIR
./src
# 5. Start the FastAPI server
# 5. Start the FastAPI server
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
1
−
1
View file @
c9dd7541
...
@@ -6,7 +6,7 @@ services:
...
@@ -6,7 +6,7 @@ services:
container_name
:
soil-backend
container_name
:
soil-backend
volumes
:
volumes
:
-
./config.toml:/home/soil-backend/config.toml
-
./config.toml:/home/soil-backend/config.toml
-
./soil.jar:/home/soil-backend/resources/soil.jar
#
- ./soil.jar:/home/soil-backend/resources/soil.jar
ports
:
ports
:
-
"
8412:8000"
-
"
8412:8000"
restart
:
unless-stopped
restart
:
unless-stopped
...
...
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