Skip to content

Commit

Permalink
Dockerfile optimizations and updates of the crontab configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kikkomep committed Apr 11, 2018
1 parent 3da4ba6 commit 430d16f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Expand Up @@ -5,8 +5,8 @@ MAINTAINER Sijin He ( sijin@ebi.ac.uk )

LABEL Description="App Library for the PhenoMeNal Portal"
LABEL software="PhenoMeNal Portal"
LABEL software.version="0.3.1"
LABEL version="1.1.0"
LABEL software.version="0.4.0"
LABEL version="1.2"

ENV REVISION="095e36259acbe28feffba048ddb7735ed57812a1"

Expand All @@ -24,6 +24,6 @@ RUN chmod 755 * && chmod 644 bin && chmod 644 conf && chmod +x ./bin/run.sh \
&& echo "export BRANCH=master" > conf/branch.config \
&& (crontab -l 2>/dev/null; \
{ echo "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; \
echo "*/10 * * * * /var/www/html/php-phenomenal-portal-app-library/bin/run.sh > /var/log/refresh.log 2> /var/log/refresh.error"; }) | crontab -
echo "*/60 * * * * /var/www/html/php-phenomenal-portal-app-library/bin/run.sh > /var/log/refresh.log 2> /var/log/refresh.error"; }) | crontab -

EXPOSE 80

0 comments on commit 430d16f

Please sign in to comment.