000x commited on
Commit
76d175f
·
verified ·
1 Parent(s): 75e6f51

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -33
Dockerfile DELETED
@@ -1,33 +0,0 @@
1
- FROM python:3.10-slim
2
-
3
- WORKDIR /app
4
-
5
- # Install system dependencies
6
- RUN apt-get update && apt-get install -y \
7
- ffmpeg \
8
- fonts-noto-core \
9
- fonts-noto-extra \
10
- && rm -rf /var/lib/apt/lists/*
11
-
12
- # Copy requirements and install Python packages
13
- COPY requirements.txt .
14
- RUN pip install --no-cache-dir -r requirements.txt
15
-
16
- # Copy application files
17
- COPY app.py .
18
- COPY templates templates/
19
-
20
- # Create necessary directories
21
- RUN mkdir -p /tmp/uploads
22
-
23
- # Expose port
24
- EXPOSE 7860
25
-
26
- # Set environment variables
27
- ENV FLASK_APP=app.py
28
- ENV PYTHONUNBUFFERED=1
29
- ENV PIXELDRAIN_API_KEY="0998113c-27f0-4d6b-ae06-b5ab00297dae"
30
- ENV GOFILE_TOKEN="wMNJfMhsTSKYbE9w6lKlRR9tAEydBYC9"
31
-
32
- # Run the application
33
- CMD ["python", "app.py"]