general improvements

This commit is contained in:
cool.gitter.choco
2025-01-26 21:07:42 -06:00
parent feaab332c8
commit f5d4d95f8a
10 changed files with 187 additions and 39 deletions

23
Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
# Use an official Python runtime as a parent image
FROM python:3.12-slim
# Set the working directory in the container
WORKDIR /app
# Install git
RUN apt-get update && apt-get install -y git
# Copy the requirements file into the container
COPY requirements.txt .
# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Copy the current directory contents into the container at /app
COPY . .
# Make port 5000 available to the world outside this container
EXPOSE 7171
# Run app.py when the container launches
CMD ["python", "app.py"]