Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -8,12 +8,11 @@ RUN apk add --no-cache gcc musl-dev python3-dev
|
|
8 |
WORKDIR /app
|
9 |
COPY . /app
|
10 |
|
11 |
-
# COPY ./knowledge_base.pl knowledge_base.pl
|
12 |
-
# COPY ./requirements.txt requirements.txt
|
13 |
RUN pip install --no-cache-dir --upgrade pip
|
14 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
15 |
|
16 |
-
RUN echo 1 | swipl pack install janus
|
|
|
17 |
RUN python -c "import janus_swi as janus"
|
18 |
|
19 |
EXPOSE 7860
|
|
|
8 |
WORKDIR /app
|
9 |
COPY . /app
|
10 |
|
|
|
|
|
11 |
RUN pip install --no-cache-dir --upgrade pip
|
12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
13 |
|
14 |
+
# RUN echo 1 | swipl pack install janus
|
15 |
+
RUN swipl -g "pack_install('janus-1.0.tgz')" -t halt
|
16 |
RUN python -c "import janus_swi as janus"
|
17 |
|
18 |
EXPOSE 7860
|