Created
September 27, 2023 06:26
-
-
Save anvie/d11d5061624a75d07d0f671be79b0db9 to your computer and use it in GitHub Desktop.
Base docker image for multiple service in one container settings, contains: cron, python3, and supervisor.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:bullseye-slim | |
# Install cron | |
RUN apt-get update && apt-get install -y cron && which cron && \ | |
rm -rf /etc/cron.*/* | |
# Install Python3 | |
RUN apt-get install -y python3 | |
# Install Supervisord | |
RUN apt-get install -y supervisor | |
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf | |
CMD ["supervisord"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment