Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -11,8 +11,9 @@ COPY ./knowledge_base.pl knowledge_base.pl
|
|
| 11 |
COPY ./requirements.txt requirements.txt
|
| 12 |
RUN pip install --no-cache-dir --upgrade pip
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 14 |
-
RUN swipl pack install --dir=packs janus
|
| 15 |
|
|
|
|
|
|
|
| 16 |
RUN python -c "import janus_swi as janus"
|
| 17 |
|
| 18 |
COPY . /app
|
|
|
|
| 11 |
COPY ./requirements.txt requirements.txt
|
| 12 |
RUN pip install --no-cache-dir --upgrade pip
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
| 14 |
|
| 15 |
+
RUN echo "pack_install(janus)." > packs.pl
|
| 16 |
+
RUN swipl packs.pl
|
| 17 |
RUN python -c "import janus_swi as janus"
|
| 18 |
|
| 19 |
COPY . /app
|