Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
|
@@ -8,15 +8,12 @@ ENV PYTHONUNBUFFERED=1
|
|
| 8 |
WORKDIR /app
|
| 9 |
|
| 10 |
# Copy project files
|
| 11 |
-
COPY bot.py
|
| 12 |
|
| 13 |
# Install dependencies
|
| 14 |
RUN pip install --no-cache-dir --upgrade pip \
|
| 15 |
&& pip install --no-cache-dir -r requirements.txt
|
| 16 |
|
| 17 |
-
# Copy .env
|
| 18 |
-
COPY .env ./
|
| 19 |
-
|
| 20 |
# Expose port (Hugging Face expects 7860 for Gradio/Streamlit, not needed for bot but safe)
|
| 21 |
EXPOSE 7860
|
| 22 |
|
|
|
|
| 8 |
WORKDIR /app
|
| 9 |
|
| 10 |
# Copy project files
|
| 11 |
+
COPY bot.py requirements.txt ./
|
| 12 |
|
| 13 |
# Install dependencies
|
| 14 |
RUN pip install --no-cache-dir --upgrade pip \
|
| 15 |
&& pip install --no-cache-dir -r requirements.txt
|
| 16 |
|
|
|
|
|
|
|
|
|
|
| 17 |
# Expose port (Hugging Face expects 7860 for Gradio/Streamlit, not needed for bot but safe)
|
| 18 |
EXPOSE 7860
|
| 19 |
|