Skip to content

Instantly share code, notes, and snippets.

@Hellzed
Created July 4, 2022 19:20
Show Gist options
  • Save Hellzed/f9d2f0e33c5a287be090a4066f195f0e to your computer and use it in GitHub Desktop.
Save Hellzed/f9d2f0e33c5a287be090a4066f195f0e to your computer and use it in GitHub Desktop.
FROM python:3.10-slim
RUN echo "import time\nprint(\"Waiting 3 seconds...\")\ntime.sleep(3)\nprint(\"Done!\")" > buffer.py
ENV PYTHONUNBUFFERED=1
ENTRYPOINT python buffer.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment