F-G Fernandez commited on
Commit
153f174
·
1 Parent(s): 5da2458

refactor: remove dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -23
Dockerfile DELETED
@@ -1,23 +0,0 @@
1
- FROM python:3.13.5-slim
2
-
3
- WORKDIR /app
4
-
5
- RUN apt-get update && apt-get install -y \
6
- build-essential \
7
- curl \
8
- git \
9
- && rm -rf /var/lib/apt/lists/*
10
-
11
- COPY requirements.txt ./
12
- RUN --mount=from=ghcr.io/astral-sh/uv:0.9.5,source=/uv,target=/bin/uv \
13
- --mount=type=cache,target=/root/.cache/uv \
14
- --mount=type=bind,source=requirements.txt,target=requirements.txt \
15
- UV_TORCH_BACKEND='cpu' uv pip install --system -r requirements.txt
16
-
17
- COPY src/ ./src/
18
-
19
- EXPOSE 8501
20
-
21
- HEALTHCHECK CMD curl --fail http://localhost:8501
22
-
23
- ENTRYPOINT ["python", "src/gradio_app.py", "--port=3000", "--repo=frgfm/rexnet1_0x"]