| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:249778a1782b02a1c2bcf9f292f5778d81442a53c3de1958d712f10baf7e0b60 in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c echo "Building crontab..." # buildkit |
| WORKDIR /workers |
| RUN /bin/sh -c apt-get update && apt-get install -y curl software-properties-common npm # buildkit |
| RUN /bin/sh -c npm install n -g && n 22.12.0 # buildkit |
| COPY ./core/crontab ./ # buildkit |
| COPY ./sites/robzazueta/custom/crontab ./ # buildkit |
| COPY ./core/app/lib ./lib # buildkit |
| COPY ./sites/robzazueta/custom/lib ./lib # buildkit |
| ENV APP_USERNAME=robz+rzfrontend@techknowme.com |
| ENV APP_PASSWORD=eF%gj^lrCbt1v06R@qA025yVt1Zln |
| ENV WORKER_DATA_PATH=/data |
| ENV APPDATA_PATH=/workers/appdata |
| ENV DB_HOST=db |
| ENV DB_PORT=5432 |
| ENV DB_USER=rzazueta |
| ENV DB_PASSWORD=na74c42iVS7mpHLU5LSwkpV3Yi |
| ENV DB_DATABASE=rzazueta |
| ENV MEILISEARCH_ENDPOINT=http://meilisearch:7700 |
| ENV MEILISEARCH_MASTER_KEY=rUpoX7HAXbCAqmA^h%#YLvsCV |
| RUN /bin/sh -c printenv > /etc/environment # buildkit |
| RUN /bin/sh -c printenv # buildkit |
| RUN /bin/sh -c npm install # buildkit |
| RUN /bin/sh -c apt-get update && apt-get -y install cron # buildkit |
| COPY ./sites/robzazueta/custom/crontab/crontab /etc/cron.d/crontab # buildkit |
| RUN /bin/sh -c chmod 0644 /etc/cron.d/crontab # buildkit |
| RUN /bin/sh -c crontab /etc/cron.d/crontab # buildkit |
| RUN /bin/sh -c touch /var/log/cron.log # buildkit |
| CMD ["/bin/sh" "-c" "cron >> /var/log/cron.log 2>&1 && tail -f /var/log/cron.log"] |