robinroy03's picture
dockerfile - adding cache folder
a083f8b
raw
history blame
235 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 test && chmod 777 test
CMD ["gunicorn", "-w", "5", "main:app"]