Spaces:
Sleeping
Sleeping
update
Browse files- 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
|
10 |
RUN julia --project=/app -e "using Pkg; Pkg.instantiate()"
|
11 |
|
12 |
EXPOSE 7860
|
13 |
-
|
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);"]
|