GiggleLiu commited on
Commit
5573899
1 Parent(s): bc25b54
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -1,12 +1,13 @@
1
  ARG JULIA_VERSION=1.10.0-beta1
 
2
  ARG JUGSAW_SERVER=DOCKER
3
  FROM julia:$JULIA_VERSION
4
 
5
  # FIXME: no need to develop Jugsaw once it is registered
6
  COPY . /app
7
  WORKDIR /app
8
- # The environment varialbe `JUGSAW_SERVER=DOCKER` turns the local mode off
9
  RUN julia --project=. -e "using Pkg; Pkg.instantiate()"
10
 
11
  EXPOSE 7860
12
- ENTRYPOINT ["julia", "--project=.", "-e", "import Jugsaw; include(\"app.jl\"); Jugsaw.Server.serve(Jugsaw.APP, port=7860);"]
 
 
1
  ARG JULIA_VERSION=1.10.0-beta1
2
+ # The environment varialbe `JUGSAW_SERVER=DOCKER` turns the local mode off
3
  ARG JUGSAW_SERVER=DOCKER
4
  FROM julia:$JULIA_VERSION
5
 
6
  # FIXME: no need to develop Jugsaw once it is registered
7
  COPY . /app
8
  WORKDIR /app
 
9
  RUN julia --project=. -e "using Pkg; Pkg.instantiate()"
10
 
11
  EXPOSE 7860
12
+ # ENTRYPOINT ["julia", "--project=.", "-e", "import Jugsaw; include(\"app.jl\"); Jugsaw.Server.serve(Jugsaw.APP, port=7860);"]
13
+ ENTRYPOINT julia --project=. -e "import Jugsaw; include(\"app.jl\"); Jugsaw.Server.serve(Jugsaw.APP, port=7860);"