Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -9,12 +9,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 9 |
curl \
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
# Copy source code
|
| 13 |
COPY . /app
|
| 14 |
|
| 15 |
-
# Install Python dependencies
|
| 16 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
-
|
| 18 |
# Set environment variables
|
| 19 |
ENV PYTHONUNBUFFERED=1
|
| 20 |
ENV HOST=0.0.0.0
|
|
|
|
| 9 |
curl \
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
+
# Install Python dependencies
|
| 13 |
+
COPY server/requirements.txt /app/server/requirements.txt
|
| 14 |
+
RUN pip install --no-cache-dir -r /app/server/requirements.txt
|
| 15 |
+
|
| 16 |
# Copy source code
|
| 17 |
COPY . /app
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
# Set environment variables
|
| 20 |
ENV PYTHONUNBUFFERED=1
|
| 21 |
ENV HOST=0.0.0.0
|