Delete Dockerfile
Browse files- Dockerfile +0 -23
Dockerfile
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
FROM pytorch/pytorch:2.0.0-cuda11.7-cudnn8-runtime
|
2 |
-
|
3 |
-
WORKDIR /app
|
4 |
-
|
5 |
-
# Install system dependencies
|
6 |
-
RUN apt-get update && apt-get install -y --no-install-recommends \
|
7 |
-
gcc \
|
8 |
-
python3-dev \
|
9 |
-
&& rm -rf /var/lib/apt/lists/*
|
10 |
-
|
11 |
-
# Copy requirements and install Python dependencies
|
12 |
-
COPY requirements.txt .
|
13 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
14 |
-
|
15 |
-
# Copy application code
|
16 |
-
COPY handler.py .
|
17 |
-
COPY app.py .
|
18 |
-
|
19 |
-
# Set environment variables
|
20 |
-
ENV PYTHONUNBUFFERED=1
|
21 |
-
|
22 |
-
# Run the application
|
23 |
-
CMD ["python", "-c", "import app"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|