ajusta_bling_py/Dockerfile

20 lines
359 B
Docker
Raw Normal View History

FROM python:3.12-alpine3.20
ENV PYTHONUNBUFFERED 1
ENV PYTHONPATH /ajusta_bling
ENV FLASK_APP ajusta_bling.__main__
ENV FLASK_RUN_HOST 0.0.0.0
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir setuptools wheel
RUN pip install --no-cache-dir -e .
EXPOSE 5000
CMD ["python", "-m", "ajusta_bling"]