EdgeAIG commited on
Commit
dda1946
·
verified ·
1 Parent(s): aa0f053

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -21
Dockerfile DELETED
@@ -1,21 +0,0 @@
1
- FROM python:3.10-slim
2
-
3
- # Create a non-root user named 'user'
4
- RUN useradd -m -u 1000 user
5
- USER user
6
- ENV HOME=/home/user \
7
- PATH=/home/user/.local/bin:$PATH
8
-
9
- WORKDIR /app
10
-
11
- # Install dependencies
12
- COPY --chown=user:user requirements.txt /app/requirements.txt
13
- RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
14
-
15
- # Copy application files
16
- COPY --chown=user:user . /app
17
-
18
- # Expose port 7860 required by Hugging Face
19
- EXPOSE 7860
20
-
21
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]