Zalmati / Dockerfile
PetraAI's picture
Upload 21 files
2c2e361 verified
raw
history blame
376 Bytes
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"]