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