From 7d84f522c8697d6c5f4e566db291d0b05c018553 Mon Sep 17 00:00:00 2001 From: Josh Day Date: Sat, 15 Jul 2023 17:27:05 -0400 Subject: [PATCH] Fix image build (#78) --- docker/Dockerfile.api | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile.api b/docker/Dockerfile.api index 36cf52b..5168e15 100644 --- a/docker/Dockerfile.api +++ b/docker/Dockerfile.api @@ -1,15 +1,12 @@ FROM julia:1.9 WORKDIR /simulation-service -# Install dependencies -# COPY Manifest.toml /simulation-service/ +# Install SimulationService.jl COPY Project.toml /simulation-service/ +COPY src/ /simulation-service/src/ ENV JULIA_PROJECT=. RUN julia -e 'using Pkg; Pkg.instantiate();' -# Install simulation-service source -COPY src/ /simulation-service/src/ -RUN julia -e 'using Pkg; Pkg.resolve();' # Launch simulation-service EXPOSE 8080