File size: 376 Bytes
ec0f90b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"]