From 166bf184f6cfc46ad9787ad14287d359bf4e95e8 Mon Sep 17 00:00:00 2001 From: Alfie King Date: Tue, 22 Apr 2025 00:32:16 +0100 Subject: [PATCH] docker --- dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dockerfile diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..88e9628 --- /dev/null +++ b/dockerfile @@ -0,0 +1,19 @@ +FROM python:alpine + +# Set the working directory +WORKDIR /app + +# Copy the requirements file into the container +COPY requirements.txt . + +# Install the required packages +RUN pip install --no-cache-dir -r requirements.txt + +# Copy the rest of the application code into the container +COPY src/ ./src + +# Expose the port the app runs on +EXPOSE 5000 + +# run the application +CMD ["python", "src/main.py"] \ No newline at end of file