GiggleLiu commited on
Commit
13450a0
1 Parent(s): c7e9d2d
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -6,9 +6,9 @@ FROM julia:$JULIA_VERSION
6
  # FIXME: no need to develop Jugsaw once it is registered
7
  COPY . /app
8
  WORKDIR /app
9
- ARG JULIA_PKGDIR=/app
10
  RUN julia --project=/app -e "using Pkg; Pkg.instantiate()"
11
 
12
  EXPOSE 7860
13
- RUN ls $HOME/.julia/packages
14
  ENTRYPOINT ["julia", "--project=/app", "-e", "import Jugsaw; include(\"app.jl\"); Jugsaw.Server.serve(Jugsaw.APP, port=7860);"]
 
6
  # FIXME: no need to develop Jugsaw once it is registered
7
  COPY . /app
8
  WORKDIR /app
9
+ ARG JULIA_DEPOT_PATH=/app
10
  RUN julia --project=/app -e "using Pkg; Pkg.instantiate()"
11
 
12
  EXPOSE 7860
13
+ ENV JULIA_DEPOT_PATH=$JULIA_DEPOT_PATH
14
  ENTRYPOINT ["julia", "--project=/app", "-e", "import Jugsaw; include(\"app.jl\"); Jugsaw.Server.serve(Jugsaw.APP, port=7860);"]