ucsia / dockerfile
ericmagalhaes's picture
change ignore
b51fa7e
raw
history blame
274 Bytes
FROM python:3.9.12
RUN apt-get update && \
apt-get install -y libgl1-mesa-glx
WORKDIR /app
COPY . /app
RUN chmod +x scripts/download_models.sh
RUN bash scripts/download_models.sh
RUN pip install -r requirements.txt
EXPOSE 80
CMD ["gunicorn", "-b", ":80","app:app"]