Build
docker build -t python-starter .
Run
docker run -it --rm python-starter
FROM python:3 | |
WORKDIR /usr/src/app | |
# COPY requirements.txt ./ | |
# RUN pip install --no-cache-dir -r requirements.txt | |
COPY hello.py . | |
CMD ["python", "./hello.py"] |
print("Hello world") |