| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:3077ee44db3cc7d38740d60a05c81418dd3825a007db473658464f52689e867b 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/sociallyconcord/custom/crontab ./ # buildkit |
| COPY ./core/app/lib ./lib # buildkit |
| COPY ./sites/sociallyconcord/custom/lib ./lib # buildkit |
| ENV APP_USERNAME=robz+rzfrontend@techknowme.com |
| ENV APP_PASSWORD=dWPSz2ISwSdI8nE4wdmGpX4GbbsmQb |
| ENV WORKER_DATA_PATH=/data |
| ENV APPDATA_PATH=/workers/appdata |
| ENV DB_HOST=db |
| ENV DB_PORT=5432 |
| ENV DB_USER=sociallyconcord |
| ENV DB_PASSWORD=l0g7hH4Z7kTEnwfxLlYe0c |
| ENV DB_DATABASE=sociallyconcord |
| 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/sociallyconcord/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"] |