Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
#Grab python=3.
|
2 |
-
FROM python:3.
|
3 |
|
4 |
# Copy code to container
|
5 |
COPY app /app
|
6 |
|
7 |
# RUN apt-get update
|
8 |
-
RUN apt-get update && apt-get install -y build-essential wget python3-dev python3-pip gcc sudo
|
9 |
-
# openldap-dev libffi-dev jpeg-dev zlib-dev libmemcached-dev
|
10 |
|
11 |
# TA-Lib
|
12 |
# RUN wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
|
|
|
1 |
+
#Grab python=3.9-slim-buster image
|
2 |
+
FROM python:3.9-slim-buster
|
3 |
|
4 |
# Copy code to container
|
5 |
COPY app /app
|
6 |
|
7 |
# RUN apt-get update
|
8 |
+
RUN apt-get update && apt-get install -y gcc libc-dev g++ llibc6-dev dpkg-dev build-essential wget python3-dev python3-pip gcc sudo
|
9 |
+
# openldap-dev libffi-dev jpeg-dev zlib-dev libmemcached-dev ibxml2 libxslt libxslt-dev
|
10 |
|
11 |
# TA-Lib
|
12 |
# RUN wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
|