Text Classification
Transformers
PyTorch
Arabic
English
distilbert
chemistry
biology
finance
legal
music
code
art
climate
medical
emotion
endpoints-template
Inference Endpoints
Zalmati / Dockerfile
PetraAI's picture
Upload 21 files
2c2e361 verified
FROM python:3-alpine
WORKDIR /app
COPY ./requirements.txt /app
COPY ./src/* /app
RUN pip3 install -r requirements.txt
ENV PORT=5500
EXPOSE "$PORT/tcp"
#ENTRYPOINT nginx && uwsgi --ini /app/params.ini -w FreeGPT4_Server
#shell form necessary
SHELL ["python3","/app/FreeGPT4_Server.py"]
ENTRYPOINT ["python3","/app/FreeGPT4_Server.py"]
CMD ["--cookie-file","/cookies.json"]