Skip to content

Commit

Permalink
Remove 'compiled' directory (#1)
Browse files Browse the repository at this point in the history
* Remove 'compiled' directory

* Apply further fixes

* Include missing '&&'
  • Loading branch information
fivegrant authored Dec 11, 2023
1 parent ac6fe56 commit edbe7ae
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ ENV JULIA_DEPOT_PATH=/usr/local/julia
ENV JULIA_PROJECT=/

WORKDIR /
COPY Project.toml Project.toml
COPY Manifest.toml Manifest.toml
COPY Project.toml Manifest.toml /
RUN julia -e 'using Pkg; Pkg.instantiate()'
COPY install.jl install.jl
COPY precompile.jl precompile.jl
RUN ./install.jl docker
RUN julia -e 'using Pkg; using IJulia; IJulia.installkernel("Julia ASKEM"; julia=`julia --project=/ --threads=4 -J/ASKEM-Sysimage.so`)'
COPY install.jl precompile.jl /
RUN ./install.jl docker && \
julia -e 'using Pkg; using IJulia; IJulia.installkernel("Julia ASKEM"; julia=`julia --project=/ --threads=4 -J/ASKEM-Sysimage.so`)' && \
rm -rf /usr/local/julia/compiled

EXPOSE 8888
EXPOSE 1234
Expand Down

0 comments on commit edbe7ae

Please sign in to comment.