spideyhead commited on
Commit
abcece4
·
verified ·
1 Parent(s): 76a1dcb

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -26
Dockerfile DELETED
@@ -1,26 +0,0 @@
1
- FROM python:3.9-slim
2
-
3
- # Install system dependencies required by OpenCV
4
- RUN apt-get update && apt-get install -y \
5
- libglib2.0-0 \
6
- libsm6 \
7
- libxext6 \
8
- libxrender-dev \
9
- && rm -rf /var/lib/apt/lists/*
10
-
11
- # Set up a non-root user for Hugging Face Spaces
12
- RUN useradd -m -u 1000 user
13
- USER user
14
- ENV PATH="/home/user/.local/bin:$PATH"
15
-
16
- WORKDIR /app
17
-
18
- # Copy requirements and install
19
- COPY --chown=user requirements.txt .
20
- RUN pip install --no-cache-dir -r requirements.txt
21
-
22
- # Copy the app
23
- COPY --chown=user . .
24
-
25
- # Run the app on port 7860 (Hugging Face Spaces default)
26
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]