robinroy03's picture
dockerfile - adding cache folder
78aaefd
raw
history blame
266 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 code/cache && chmod 777 code/cache
RUN mkdir cache
CMD ["gunicorn", "-w", "5", "main:app"]