robinroy03's picture
dockerfile - removing .cache folder
d0f08bb
raw
history blame
243 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"]