daojeil commited on
Commit
a2b88d4
·
verified ·
1 Parent(s): fa9f1e3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -167,8 +167,6 @@ RUN echo "* * * * * /app/cron-job.sh >> /var/log/cron.log 2>&1" > /etc/cron.d/we
167
  # Give execution rights on the cron job
168
  RUN chmod 0644 /etc/cron.d/webui-cron
169
 
170
- # Apply the cron job
171
- RUN crontab /etc/cron.d/webui-cron
172
 
173
  EXPOSE 8080
174
 
@@ -179,4 +177,7 @@ USER $UID:$GID
179
  ARG BUILD_HASH
180
  ENV WEBUI_BUILD_VERSION=${BUILD_HASH}
181
 
 
 
 
182
  CMD [ "bash", "start.sh"]
 
167
  # Give execution rights on the cron job
168
  RUN chmod 0644 /etc/cron.d/webui-cron
169
 
 
 
170
 
171
  EXPOSE 8080
172
 
 
177
  ARG BUILD_HASH
178
  ENV WEBUI_BUILD_VERSION=${BUILD_HASH}
179
 
180
+ # Apply the cron job
181
+ RUN crontab /etc/cron.d/webui-cron
182
+
183
  CMD [ "bash", "start.sh"]