Spaces:
Sleeping
Sleeping
File size: 525 Bytes
8c5317e 92c25b3 8c5317e 92c25b3 8c5317e 92c25b3 b848ff8 92c25b3 8c5317e 0bf099d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
build-essential \
curl \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir poetry
COPY pyproject.toml poetry.lock ./
RUN poetry config virtualenvs.create false \
&& poetry install --no-interaction --no-ansi --no-root
COPY . .
EXPOSE 7860
HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
ENTRYPOINT ["streamlit", "run", "Expertise_et_vision.py", "--server.port=7860", "--server.address=0.0.0.0"] |