Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|
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 |
|