Dockerfile-python 181 B

12345678910
  1. FROM python:3.10
  2. WORKDIR /app
  3. VOLUME [ "/app" ]
  4. # docker build -t python:3.10 -f '.ide/Dockerfile-python' .
  5. # docker run -rm -it -v /workspace:/app python:3.10
  6. # python main.py