Skip to content

Commit

Permalink
switch maintained julia base
Browse files Browse the repository at this point in the history
  • Loading branch information
annereinarz committed May 20, 2024
1 parent 33fb4f2 commit e624f79
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions models/testmodel-julia/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
FROM ubuntu:latest
FROM julia:latest

COPY minimal-server.jl /
COPY minimal-server.jl /minimal-server.jl

RUN apt update && \
DEBIAN_FRONTEND="noninteractive" apt install -y curl
RUN julia -O3 -e 'using Pkg; Pkg.REPLMode.pkgstr("add UMBridge ;precompile"); using UMBridge'

ENV JULIA_PATH /usr/local/julia
ENV PATH $JULIA_PATH/bin:$PATH

RUN curl -fsSL https://install.julialang.org | sh -s -- -y

CMD julia minimal-server.jl
CMD julia /minimal-server.jl

0 comments on commit e624f79

Please sign in to comment.