Spaces:

npc0 commited on
Commit
6b78a54
1 Parent(s): 988bedd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,15 +1,15 @@
1
  FROM python:3.11
2
 
 
 
 
 
3
  RUN useradd -m -u 1000 user
4
  USER user
5
  ENV PATH="/home/user/.local/bin:$PATH"
6
 
7
  WORKDIR /app
8
 
9
- RUN apt install -y software-properties-common
10
- RUN apt-add-repository -y ppa:swi-prolog/stable
11
- RUN apt install -y swi-prolog
12
-
13
  COPY --chown=user ./requirements.txt requirements.txt
14
  COPY --chown=user ./knowledge_base.pl knowledge_base.pl
15
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
1
  FROM python:3.11
2
 
3
+ RUN apt install -y software-properties-common
4
+ RUN apt-add-repository -y ppa:swi-prolog/stable
5
+ RUN apt install -y swi-prolog
6
+
7
  RUN useradd -m -u 1000 user
8
  USER user
9
  ENV PATH="/home/user/.local/bin:$PATH"
10
 
11
  WORKDIR /app
12
 
 
 
 
 
13
  COPY --chown=user ./requirements.txt requirements.txt
14
  COPY --chown=user ./knowledge_base.pl knowledge_base.pl
15
  RUN pip install --no-cache-dir --upgrade -r requirements.txt