ConverTA / Dockerfile
MikelWL's picture
HF Space: Docker entrypoint + React hybrid fixes
beb189d
raw
history blame contribute delete
323 Bytes
FROM python:3.9-slim
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install --upgrade pip && pip install -r /app/requirements.txt
COPY . /app
RUN chmod +x /app/start_hf_space.sh
ENV API_HOST=0.0.0.0 \
API_PORT=8000
CMD ["/app/start_hf_space.sh"]