Skip to content

Commit

Permalink
add precompile step
Browse files Browse the repository at this point in the history
  • Loading branch information
PGimenez committed Jan 23, 2024
1 parent 008c3f7 commit 8a9ec2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY Project.toml /home/genie/app/
WORKDIR /home/genie/app
RUN chown -R genie:genie /home/
USER genie
RUN julia -e "using Pkg; Pkg.activate(\".\"); Pkg.instantiate(); "
RUN julia -e "using Pkg; Pkg.activate(\".\"); Pkg.instantiate();Pkg.precompile()"
COPY . /home/genie/app
EXPOSE 8000
EXPOSE 80
Expand Down

0 comments on commit 8a9ec2c

Please sign in to comment.