# Use the official Python image as a base FROM python:3.9-slim # Set the working directory in the container WORKDIR /app RUN echo 'print("Hello, World!")' > hello.py CMD ["python", "hello.py"]