ChattyAI_prototype / Dockerfile
RohanHBTU's picture
Update Dockerfile
a07d0a5 verified
raw
history blame
287 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/cache
RUN chown user:user -R /code/cache
CMD gunicorn -w 4 -b 0.0.0.0:7860 app:app