tracescope-api / Dockerfile
Pixedar's picture
Deploy TraceScope API
ce11d27
Raw
History Blame Contribute Delete
305 Bytes
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
COPY tracescope/ ./tracescope/
COPY cache/ ./cache/
CMD ["sh", "-c", "uvicorn app:app --host 0.0.0.0 --port ${PORT:-7860}"]