diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c6dc225 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +# Use the official Python base image +FROM python:3.9-slim + +# Set the working directory +WORKDIR /app + +# Copy the Python script into the container +COPY hello.py . + +# Expose port 5000 for the Flask app +EXPOSE 5000 + +# Run the Python script +CMD ["python", "hello.py"]