Commit 780f6ded authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Fix up entrypoint to Docker container

parent 68a8581f
......@@ -16,5 +16,4 @@
- SITENAME=${SITENAME:?Env var SITENAME is not set.}
restart: unless-stopped
volumes:
- .:/bridgetest/log
entrypoint: ["cron", "-f"]
- ./log:/bridgetest/log
......@@ -19,3 +19,8 @@ RUN git clone https://github.com/cohosh/bridgetest.git && \
COPY bridge_lines.txt /bridgetest/
RUN crontab /bridgetest/docker/probe-crontab
COPY ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
#!/bin/bash
printenv > /etc/environment
cron -f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment