Add Docker support and update requirements for data collection and visualization
This commit is contained in:
13
peertube/statnerd/Dockerfile
Normal file
13
peertube/statnerd/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM python:3.13.1-slim-bookworm
|
||||
|
||||
# Install dependencies
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
RUN pip install --no-cache-dir -r /app/requirements.txt
|
||||
|
||||
# Copy the application
|
||||
COPY main.py /app
|
||||
COPY utils/ /app/utils
|
||||
WORKDIR /app
|
||||
|
||||
# Run the application
|
||||
CMD ["python", "main.py"]
|
||||
Reference in New Issue
Block a user