Skip to content
Snippets Groups Projects
Commit c9dd7541 authored by Henrik Timmermanns's avatar Henrik Timmermanns
Browse files

load resources during image build instead of deployment

parent 31dc7f00
No related branches found
No related tags found
No related merge requests found
Pipeline #520840 passed
......@@ -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)
COPY ./src ./src
#COPY ./resources ./resources
COPY ./resources ./resources
WORKDIR ./src
# 5. Start the FastAPI server
......
......@@ -6,7 +6,7 @@ services:
container_name: soil-backend
volumes:
- ./config.toml:/home/soil-backend/config.toml
- ./soil.jar:/home/soil-backend/resources/soil.jar
# - ./soil.jar:/home/soil-backend/resources/soil.jar
ports:
- "8412:8000"
restart: unless-stopped
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment