Spaces:
Runtime error
Runtime error
Paulito Palmes, PhD commited on
Commit ·
87e8a68
1
Parent(s): 92c98ca
init
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -6,14 +6,15 @@ WORKDIR /app/env
|
|
| 6 |
|
| 7 |
# Install system dependencies (if needed)
|
| 8 |
RUN apt-get update && apt-get install -y \
|
| 9 |
-
|
| 10 |
-
|
| 11 |
|
| 12 |
# Copy environment files
|
| 13 |
COPY . .
|
| 14 |
|
| 15 |
# Install Python dependencies
|
| 16 |
-
RUN pip install --no-cache-dir -e .
|
|
|
|
| 17 |
|
| 18 |
# Expose port
|
| 19 |
EXPOSE 8000
|
|
|
|
| 6 |
|
| 7 |
# Install system dependencies (if needed)
|
| 8 |
RUN apt-get update && apt-get install -y \
|
| 9 |
+
git \
|
| 10 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Copy environment files
|
| 13 |
COPY . .
|
| 14 |
|
| 15 |
# Install Python dependencies
|
| 16 |
+
#RUN pip install --no-cache-dir -e .
|
| 17 |
+
RUN pip install --no-cache-dir -r ./requirements.txt
|
| 18 |
|
| 19 |
# Expose port
|
| 20 |
EXPOSE 8000
|