[odrs-web] trivial: Change the Dockerfile to use python3 too



commit 808f0b3b040ddfc35ee54b29decf89524168e84a
Author: Richard Hughes <richard hughsie com>
Date:   Wed Apr 29 17:49:38 2020 +0100

    trivial: Change the Dockerfile to use python3 too

 Dockerfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 0eddaee..38795fb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -37,17 +37,17 @@ RUN LANG=en_US.utf8 \
     SQLALCHEMY_TRACK_MODIFICATIONS=False \
     flask db upgrade
 
-RUN python36 /opt/app-root/src/cron.py fsck
+RUN python3 /opt/app-root/src/cron.py fsck
 
 RUN curl https://flathub.org/repo/appstream/x86_64/appstream.xml.gz -o /tmp/appstream.xml.gz
 
-RUN python36 /opt/app-root/src/cron.py appstream-import /tmp/appstream.xml.gz
+RUN python3 /opt/app-root/src/cron.py appstream-import /tmp/appstream.xml.gz
 
 RUN curl https://raw.githubusercontent.com/hughsie/badwords/master/badwords.csv -o /tmp/badwords.csv
 
-RUN LANG=en_US.utf8 python36 /opt/app-root/src/cron.py taboo-import /tmp/badwords.csv
+RUN LANG=en_US.utf8 python3 /opt/app-root/src/cron.py taboo-import /tmp/badwords.csv
 
-RUN python36 /opt/app-root/src/cron.py ratings /opt/app-root/src/odrs/static/ratings.json
+RUN python3 /opt/app-root/src/cron.py ratings /opt/app-root/src/odrs/static/ratings.json
 
 RUN chown -R 1000310000:0 ${ODRS_HOME} && \
     chmod -R 664 ${ODRS_HOME} && \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]