Spaces:
Sleeping
Sleeping
File size: 452 Bytes
b054a1c ff70316 827872e ff70316 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
FROM ghcr.io/kajdun/huggingface-spaces-lamacpp:main
ENV HOST 0.0.0.0
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH \
PYTHONPATH=$HOME/app \
PYTHONUNBUFFERED=1 \
GRADIO_ALLOW_FLAGGING=never \
GRADIO_NUM_PORTS=1 \
GRADIO_SERVER_NAME=0.0.0.0 \
GRADIO_THEME=huggingface \
SYSTEM=spaces
COPY --chown=user . $HOME/app
RUN python3 -m pip install loguru
WORKDIR $HOME/app
CMD ["python3", "main.py"] |