GPT4FREE / Dockerfile
CaioXapelaum's picture
Update Dockerfile
fa998a8 verified
raw
history blame contribute delete
245 Bytes
FROM python:3.9
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /app
RUN pip install --no-cache-dir --upgrade g4f g4f[all] curl_cffi
COPY --chown=user . /app
CMD ["python", "-m", "g4f", "--port", "7860"]