ParthSadaria commited on
Commit
79c95b6
·
verified ·
1 Parent(s): b9fbe4a

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -30
Dockerfile DELETED
@@ -1,30 +0,0 @@
1
- # syntax=docker/dockerfile:1
2
-
3
- FROM python:3.10-slim
4
-
5
- # system deps
6
- RUN apt-get update && apt-get install -y --no-install-recommends \
7
- build-essential \
8
- && apt-get clean && rm -rf /var/lib/apt/lists/*
9
-
10
- # create non-root user
11
- RUN useradd -m -u 1000 user
12
-
13
- # set workdir
14
- WORKDIR /app
15
-
16
- # change ownership to the new user
17
- COPY --chown=user:user . .
18
-
19
- # switch to non-root user
20
- USER user
21
-
22
- # install Python deps
23
- RUN pip install --no-cache-dir --upgrade pip && \
24
- pip install --no-cache-dir -r requirements.txt
25
-
26
- # expose port (HF Spaces uses 7860)
27
- EXPOSE 7860
28
-
29
- # launch your FastAPI app
30
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]