Reyall commited on
Commit
9f5b543
·
verified ·
1 Parent(s): 30daeb9

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -42
Dockerfile DELETED
@@ -1,42 +0,0 @@
1
- FROM python:3.10
2
-
3
- WORKDIR /code
4
-
5
- # System dependencies (libgl1-mesa-glx əvəzinə libgl1-mesa-dev istifadə edin)
6
- apt-get update && apt-get install -y \
7
- git \
8
- git-lfs \
9
- ffmpeg \
10
- libsm6 \
11
- libxext6 \
12
- libgl1 \
13
- cmake \
14
- rsync \
15
- && rm -rf /var/lib/apt/lists/* \
16
- && git lfs install
17
-
18
- # Python dependencies
19
- COPY requirements.txt .
20
- RUN pip install --no-cache-dir -r requirements.txt
21
-
22
- # Copy app files
23
- COPY . .
24
-
25
- # Create user
26
- RUN useradd -m -u 1000 user
27
- USER user
28
-
29
- # Set environment variables
30
- ENV HOME=/home/user \
31
- PATH=/home/user/.local/bin:$PATH
32
-
33
- WORKDIR $HOME/app
34
-
35
- # Copy files to user directory
36
- COPY --chown=user . $HOME/app
37
-
38
- # Expose port
39
- EXPOSE 7860
40
-
41
- # Run the application
42
- CMD ["python", "app.py"]