first commit

This commit is contained in:
Blake Ridgway 2024-12-29 20:12:21 -06:00
commit 18bcafe29b
8 changed files with 143 additions and 0 deletions

18
Dockerfile Normal file
View file

@ -0,0 +1,18 @@
# Use an official Python runtime as a parent image
FROM python:3.10-slim
# Set the working directory in the container
WORKDIR /app
# Copy the requirements and application files
COPY requirements.txt requirements.txt
COPY . .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port Flask runs on
EXPOSE 5000
# Define the command to run the app
CMD ["python", "server.py"]