humanize-text-python / Dockerfile
thanhnv2323's picture
fix: update read .env file
194b828
Raw History Blame Contribute Delete
402 Bytes
FROM python:3.10-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PORT=7860
WORKDIR /app
COPY requirements.txt pyproject.toml README.md LICENSE ./
COPY .env .env
COPY adsp ./adsp
COPY scripts ./scripts
COPY data ./data
RUN python -m pip install --upgrade pip && \
pip install -r requirements.txt
EXPOSE 7860
CMD ["python", "scripts/run_hf_space.py"]