[odrs-web/oscp] trivial: Change the Dockerfile to use python3 too
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web/oscp] trivial: Change the Dockerfile to use python3 too
- Date: Wed, 29 Apr 2020 17:43:12 +0000 (UTC)
commit 74469c7418edb6c1777aec2f615726c5732ca0df
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]