Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -13,9 +13,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 13 |
WORKDIR /app
|
| 14 |
COPY . /app
|
| 15 |
|
| 16 |
-
# Instalamos usando el requirements
|
| 17 |
RUN pip install --no-cache-dir --upgrade pip \
|
| 18 |
&& pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
| 20 |
EXPOSE 7860
|
| 21 |
-
|
|
|
|
|
|
| 13 |
WORKDIR /app
|
| 14 |
COPY . /app
|
| 15 |
|
|
|
|
| 16 |
RUN pip install --no-cache-dir --upgrade pip \
|
| 17 |
&& pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
| 19 |
EXPOSE 7860
|
| 20 |
+
# EL CAMBIO IMPORTANTE: Espacio después de CMD
|
| 21 |
+
CMD ["python3", "server.py", "--host", "0.0.0.0", "--port", "7860"]
|