ChattyAI_prototype / Dockerfile
RohanHBTU's picture
Update Dockerfile
0d5c379 verified
raw
history blame
301 Bytes
FROM python:3.9
RUN useradd -m -u 1000 user
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
RUN mkdir /code/blabla/cache
RUN chown user:user -R /code/blabla/cache
CMD gunicorn -w 4 -b 0.0.0.0:7860 app:app