Spaces:

npc0 commited on
Commit
6878ab3
1 Parent(s): 58b0fdd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -1,11 +1,13 @@
1
  FROM swipl
2
 
3
  RUN apt-get update
4
- RUN apt-get install -y gcc python3 python3-pip python3-dev
5
 
6
  WORKDIR /app
7
  COPY . /app
8
 
 
 
9
  RUN pip install --no-cache-dir --upgrade pip
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
 
1
  FROM swipl
2
 
3
  RUN apt-get update
4
+ RUN apt-get install -y gcc python3-all python3-dev
5
 
6
  WORKDIR /app
7
  COPY . /app
8
 
9
+ RUN python3 -m venv /app/env
10
+ RUN source env\Scripts\activate
11
  RUN pip install --no-cache-dir --upgrade pip
12
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
13