From 5734077cbcf9fe2385a8fb2c7d735670b566484f Mon Sep 17 00:00:00 2001 From: Lingua Latina Machina <125713831+d3287t328@users.noreply.github.com> Date: Fri, 14 Jul 2023 21:56:33 -0400 Subject: [PATCH] Create Dockerfile --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..464c829 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# Use an official Python runtime as a parent image +FROM python:3.9-slim-buster + +# Set the working directory in the container to /app +WORKDIR /app + +# Add the current directory contents into the container at /app +ADD . /app + +# Install any needed packages specified in requirements.txt +RUN pip install --no-cache-dir -r requirements.txt + +# Make port 80 available to the world outside this container +EXPOSE 80 + +# Run the command to start your application +CMD ["python", "./chatgpt.py"]