talk2data / Dockerfile
cevheri's picture
fix: git remote on github actions
bebdc42
raw
history blame contribute delete
479 Bytes
FROM python:3.11
RUN useradd -m -u 1000 chameleon
USER chameleon
ENV PATH="/home/chameleon/.local/bin:$PATH"
WORKDIR /app
COPY --chown=chameleon requirements.txt requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY --chown=chameleon . .
# Hugging Face Space port
ENV PORT=7860
# Expose the port
EXPOSE 7860
# Start command for Hugging Face Space
# CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
CMD ["python", "app.py"]