Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
@@ -20,10 +20,9 @@ EXPOSE 27017
|
|
20 |
# RUN chown -R mongodb:mongodb /data/db
|
21 |
# # RUN service mongodb start
|
22 |
# RUN service mongod start
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
RUN apt-get update && apt-get install -y python3.9 python3.9-dev
|
27 |
|
28 |
# Copy the app code to the image
|
29 |
COPY . /app
|
|
|
20 |
# RUN chown -R mongodb:mongodb /data/db
|
21 |
# # RUN service mongodb start
|
22 |
# RUN service mongod start
|
23 |
+
RUN apt-get -y update && apt-get install -y software-properties-common \
|
24 |
+
&& add-apt-repository ppa:deadsnakes/ppa && apt install -y python3.10
|
25 |
+
RUN echo which pip
|
|
|
26 |
|
27 |
# Copy the app code to the image
|
28 |
COPY . /app
|