Spaces:
Running
Running
abdullahmubeen10
commited on
Update Dockerfile
Browse files- Dockerfile +8 -3
Dockerfile
CHANGED
@@ -22,10 +22,15 @@ RUN add-apt-repository ppa:deadsnakes/ppa && apt-get update
|
|
22 |
# Install Python 3.4
|
23 |
RUN apt-get install -y python3.4 python3.4-dev python3.4-venv
|
24 |
|
25 |
-
#
|
26 |
-
RUN
|
|
|
|
|
27 |
|
28 |
-
#
|
|
|
|
|
|
|
29 |
COPY requirements.txt /tmp/requirements.txt
|
30 |
|
31 |
# Install Python dependencies
|
|
|
22 |
# Install Python 3.4
|
23 |
RUN apt-get install -y python3.4 python3.4-dev python3.4-venv
|
24 |
|
25 |
+
# Install pip for Python 3.4
|
26 |
+
RUN curl https://bootstrap.pypa.io/pip/3.4/get-pip.py -o get-pip.py && \
|
27 |
+
python3.4 get-pip.py && \
|
28 |
+
rm get-pip.py
|
29 |
|
30 |
+
# Verify Python and pip versions
|
31 |
+
RUN python3.4 --version && python3.4 -m pip --version
|
32 |
+
|
33 |
+
# Copy requirements file (if applicable)
|
34 |
COPY requirements.txt /tmp/requirements.txt
|
35 |
|
36 |
# Install Python dependencies
|