we can now build a docker container from it

This commit is contained in:
Kendrick Bollens
2026-01-30 00:26:08 +01:00
parent e72b9cbdac
commit d5e401c358
2 changed files with 60 additions and 0 deletions

20
dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM python:3.11-slim
WORKDIR /app
# Install Flask (sqlite3 is built into Python)
RUN pip install --no-cache-dir flask
# Copy application files
COPY starface_call_logger.py .
COPY dashboard.py .
COPY entrypoint.sh .
# Make entrypoint executable
RUN chmod +x entrypoint.sh
# Expose both ports
EXPOSE 5000 5001
# Run the entrypoint script
CMD ["./entrypoint.sh"]