[odrs-web] The chown should run as the latest step
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web] The chown should run as the latest step
- Date: Mon, 17 Dec 2018 14:40:44 +0000 (UTC)
commit 540c3ad4672b46a24457e85b7bf2f0007eb46219
Author: Andrea Veri <averi redhat com>
Date: Mon Dec 17 15:40:37 2018 +0100
The chown should run as the latest step
Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 592ab4d..41d8099 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,12 +11,12 @@ WORKDIR ${ODRS_HOME}
COPY app_data ${ODRS_HOME}
+RUN python /opt/app-root/src/cron.py ratings /opt/app-root/src/app/static/ratings.json
+
RUN chown -R 1000310000:0 ${ODRS_HOME} && \
chmod -R 664 ${ODRS_HOME} && \
find ${ODRS_HOME} -type d -exec chmod 775 {} +
-RUN python /opt/app-root/src/cron.py ratings /opt/app-root/src/app/static/ratings.json
-
COPY entrypoint.sh /usr/local/bin
EXPOSE 8443
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]