Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
|
@@ -5,11 +5,12 @@ WORKDIR /code
|
|
| 5 |
COPY ./requirements.txt /code/requirements.txt
|
| 6 |
COPY ./pre-requirements.txt /code/pre-requirements.txt
|
| 7 |
|
| 8 |
-
RUN wget https://
|
| 9 |
-
&&
|
| 10 |
-
&& cd ta-lib
|
| 11 |
&& ./configure --prefix=/usr \
|
| 12 |
-
&& make
|
|
|
|
| 13 |
|
| 14 |
RUN pip install --no-cache-dir --upgrade -r /code/pre-requirements.txt
|
| 15 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
|
| 5 |
COPY ./requirements.txt /code/requirements.txt
|
| 6 |
COPY ./pre-requirements.txt /code/pre-requirements.txt
|
| 7 |
|
| 8 |
+
RUN && wget https://cfhcable.dl.sourceforge.net/project/ta-lib/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz \
|
| 9 |
+
&& tar -xzf ta-lib-0.4.0-src.tar.gz \
|
| 10 |
+
&& cd ta-lib/ \
|
| 11 |
&& ./configure --prefix=/usr \
|
| 12 |
+
&& make \
|
| 13 |
+
&& make install \
|
| 14 |
|
| 15 |
RUN pip install --no-cache-dir --upgrade -r /code/pre-requirements.txt
|
| 16 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|