bady_fat_calculator / Dockerfile
Senara's picture
Update Dockerfile
6102d1f verified
FROM python:3.9
# Install libgl1-mesa-glx - remove after experiment
#RUN apt-get update && apt-get install -y libgl1-mesa-glx
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN pip install gunicorn
COPY . .
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]