Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -20,8 +20,10 @@ EXPOSE 27017
|
|
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 |
|
26 |
# Copy the app code to the image
|
27 |
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 |
+
|
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
|