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