Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -9
Dockerfile
CHANGED
|
@@ -2,21 +2,13 @@ FROM python:3.11-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
|
| 6 |
-
RUN git clone https://github.com/JadenAfrix1/IVASMS.git
|
| 7 |
|
| 8 |
-
# Install dependencies
|
| 9 |
-
COPY requirements.txt .
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
-
# Copy application files
|
| 13 |
-
COPY . .
|
| 14 |
-
|
| 15 |
-
# Set environment variables
|
| 16 |
ENV PORT=7860
|
| 17 |
ENV PYTHONUNBUFFERED=1
|
| 18 |
|
| 19 |
EXPOSE 7860
|
| 20 |
|
| 21 |
-
# Run the bot directly - it has its own health server
|
| 22 |
CMD ["python", "index.py"]
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
RUN git clone https://github.com/JadenAfrix1/IVASMS.git .
|
|
|
|
| 6 |
|
|
|
|
|
|
|
| 7 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
ENV PORT=7860
|
| 10 |
ENV PYTHONUNBUFFERED=1
|
| 11 |
|
| 12 |
EXPOSE 7860
|
| 13 |
|
|
|
|
| 14 |
CMD ["python", "index.py"]
|