Skip to main content
Dockerfile354 B
View on GitHub
# Minimal image for the `worker` container component.
FROM alpine:latest

# A tiny entrypoint script that loops, so `atmos container up worker` has a
# long-running process to manage.
RUN printf '#!/bin/sh\nwhile true; do echo "worker tick"; sleep 5; done\n' > /usr/local/bin/worker \
&& chmod +x /usr/local/bin/worker

CMD ["/usr/local/bin/worker"]