0xarchit commited on
Commit
5a185ac
·
1 Parent(s): 70b44e7

Fix: Rename dockerfile to Dockerfile for Hugging Face compatibility

Browse files
Files changed (1) hide show
  1. dockerfile +0 -21
dockerfile DELETED
@@ -1,21 +0,0 @@
1
- FROM python:3.11-slim
2
-
3
- WORKDIR /app
4
-
5
- RUN apt-get update && apt-get install -y \
6
- build-essential \
7
- && rm -rf /var/lib/apt/lists/*
8
-
9
- COPY requirements.txt .
10
- RUN pip install --no-cache-dir -r requirements.txt
11
-
12
- COPY . .
13
-
14
- RUN useradd -m -u 1000 user
15
- USER user
16
- ENV HOME=/home/user \
17
- PATH=/home/user/.local/bin:$PATH
18
-
19
- EXPOSE 7860
20
-
21
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]