Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
# temporary building stage
|
2 |
-
FROM python:3.8.5-slim as
|
|
|
3 |
|
4 |
# install system dependencies
|
5 |
RUN apt-get update
|
@@ -17,8 +18,7 @@ ENV PATH=“${PATH}:/root/.local/bin”
|
|
17 |
COPY requirements.txt .
|
18 |
RUN pip install -r requirements.txt --no-cache-dir
|
19 |
RUN pip install numpy==1.20.0
|
20 |
-
RUN
|
21 |
-
pip install cython==0.29.21
|
22 |
RUN pip install pygco==0.0.16
|
23 |
|
24 |
# final stage
|
|
|
1 |
# temporary building stage
|
2 |
+
FROM python:3.8.5-slim as
|
3 |
+
builder
|
4 |
|
5 |
# install system dependencies
|
6 |
RUN apt-get update
|
|
|
18 |
COPY requirements.txt .
|
19 |
RUN pip install -r requirements.txt --no-cache-dir
|
20 |
RUN pip install numpy==1.20.0
|
21 |
+
RUN pip install cython==0.29.21
|
|
|
22 |
RUN pip install pygco==0.0.16
|
23 |
|
24 |
# final stage
|