main
Last change
on this file was
840a9c5,
checked in by David Fuertes <dfuertes@…>, 4 years ago
|
Añadida funcionalidad AJAX de chequeo status de los equipos en reserva en frontend.
|
-
Property mode set to
100644
|
File size:
574 bytes
|
Line | |
---|
1 | FROM python:3 |
---|
2 | |
---|
3 | ENV TZ=Europe/Madrid |
---|
4 | RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone |
---|
5 | |
---|
6 | RUN apt-get update && apt-get install -y \ |
---|
7 | cron \ |
---|
8 | libldap-dev \ |
---|
9 | libsasl2-dev |
---|
10 | |
---|
11 | RUN echo "* * * * * root /var/www/web2py/applications/rlabs/scripts/exec_bg_check.sh" >> /etc/crontab |
---|
12 | RUN echo "0 1 * * * root /var/www/web2py/applications/rlabs/scripts/clear_fs_sessions.sh" >> /etc/crontab |
---|
13 | |
---|
14 | |
---|
15 | COPY ./cron/requirements.txt . |
---|
16 | |
---|
17 | RUN pip install --upgrade pip |
---|
18 | |
---|
19 | RUN pip install --no-cache-dir -r requirements.txt |
---|
20 | |
---|
21 | |
---|
22 | CMD ["/usr/sbin/cron", "-f"] |
---|
Note: See
TracBrowser
for help on using the repository browser.