diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0d16804 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# Use the official Python image from Docker Hub +FROM python:3.9 + +# Set the working directory in the container +WORKDIR /app + +# Copy the requirements file into the container at /app +COPY requirements.txt . + +# Install any needed packages specified in requirements.txt +RUN pip install --no-cache-dir -r requirements.txt + +# Copy the rest of the application code into the container at /app +COPY . . + +# Specify the command to run on container start +CMD ["python", "index.py"]