robinroy03's picture
dockerfile - adding .cache folder
be2b73e
raw
history blame
241 Bytes
FROM python:3.12
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
RUN mkdir -p /.cache && chmod 777 /.cache
CMD ["gunicorn", "-w", "5", "main:app"]