first commit
This commit is contained in:
11
Dockerfile.python
Normal file
11
Dockerfile.python
Normal file
@@ -0,0 +1,11 @@
|
||||
# Use the official Python image as the base image
|
||||
FROM python:3.9.19
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Copy the hello_world.py script into the container
|
||||
COPY hello_world.py .
|
||||
|
||||
# Run the script
|
||||
CMD ["python3", "hello_world.py"]
|
||||
Reference in New Issue
Block a user