From 4aa3d7c3b2fd8b43a197549c6c342bb77451eb19 Mon Sep 17 00:00:00 2001 From: Lorena Hendrix Date: Mon, 8 Apr 2024 14:28:41 +0200 Subject: [PATCH] added results directory to genie dockerfile --- docker-compose.yml | 2 +- genie/Dockerfile | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 97db1d5..dadd4c0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: volumes: - ./genie:/home/genie/app #command: gunicorn -w 1 -b 0.0.0.0:8000 wsgi:server --timeout 200 - command: julia --project=. -e 'include("/home/genie/app/app/rest.jl")' --color=yes --depwarn=no --project=@. --sysimage="/home/sysimage.so" -q -i -- $$(dirname $$0)/../bootstrap.jl -s=true "$$@" + command: julia --project=. -e 'include(\"app/rest.jl\")' --color=yes --depwarn=no --project=@. --sysimage="/home/sysimage.so" -q -i -- $$(dirname $$0)/../bootstrap.jl -s=true "$$@" # --color=yes --depwarn=no --project=@. --sysimage=/usr/local/julia/lib/julia/sys.so -q -i -- $(dirname $0)/../bootstrap.jl -s=true "$@" nginx: diff --git a/genie/Dockerfile b/genie/Dockerfile index e3a4a4b..57988ec 100644 --- a/genie/Dockerfile +++ b/genie/Dockerfile @@ -41,8 +41,9 @@ ENV JULIA_DEPOT_PATH "/home/genie/.julia" ENV JULIA_REVISE="off" ENV EARLYBIND "true" -COPY --chown=genie:genie app /home/genie/app -COPY --chown=genie:genie bin /home/genie/app +COPY --chown=genie:genie app /home/genie/app/app +COPY --chown=genie:genie bin /home/genie/app/bin +COPY --chown=genie:genie results /home/genie/app/results # Copy compiled files