feat: web server

This commit is contained in:
Kevin Restaino
2024-01-08 22:24:21 -05:00
parent e20f9155cb
commit 46ab3e5be3
7 changed files with 148 additions and 11 deletions
+8 -2
View File
@@ -10,5 +10,11 @@ COPY . .
# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Use an entrypoint script
ENTRYPOINT ["python", "./sptnr.py"]
# Expose port 5000 for the Flask app
EXPOSE 5000
# Set the entrypoint to Python
ENTRYPOINT ["python"]
# Leave CMD empty
CMD []