Add dockerfile to containerize telemetry server

This commit is contained in:
Debanjum Singh Solanky
2023-05-17 11:46:19 +05:30
parent 07b19964d4
commit e9f04dc644

10
src/telemetry/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
# Get Base Image
FROM tiangolo/uvicorn-gunicorn:python3.11-slim
LABEL org.opencontainers.image.source https://github.com/debanjum/khoj
# Install Telemetry Server Dependencies
COPY requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
# Copy Application
COPY telemetry.py /app/main.py