Skip to content

Commit

Permalink
Fix image build (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday authored Jul 15, 2023
1 parent 24a1b1c commit 7d84f52
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docker/Dockerfile.api
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 7d84f52

Please sign in to comment.