Spaces:
Runtime error
Runtime error
Anooj
commited on
Commit
·
675964e
1
Parent(s):
81d825e
add precompilation
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -17,4 +17,7 @@ ENV WSPORT "8000"
|
|
17 |
|
18 |
RUN julia -e 'using Pkg; Pkg.add(url="https://github.com/anoojpatel/Chess.jl"); Pkg.activate("."); Pkg.add("Stipple"); Pkg.precompile()'
|
19 |
|
|
|
|
|
|
|
20 |
ENTRYPOINT julia --project -e 'using Pkg; Pkg.instantiate(); using Genie; Genie.loadapp(); up(async=false);;'
|
|
|
17 |
|
18 |
RUN julia -e 'using Pkg; Pkg.add(url="https://github.com/anoojpatel/Chess.jl"); Pkg.activate("."); Pkg.add("Stipple"); Pkg.precompile()'
|
19 |
|
20 |
+
# Compile app
|
21 |
+
RUN julia --project make.jl
|
22 |
+
|
23 |
ENTRYPOINT julia --project -e 'using Pkg; Pkg.instantiate(); using Genie; Genie.loadapp(); up(async=false);;'
|