code-review-env / Dockerfile
lucifer0077's picture
fix: remove healthcheck causing container to never start
6459326
Raw
History Blame Contribute Delete
280 Bytes
FROM python:3.11-slim
WORKDIR /app
EXPOSE 7860
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
USER appuser
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]