Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -20,10 +20,10 @@ RUN pip install --no-cache-dir -r /app/requirements.txt
|
|
| 20 |
# Install nginx
|
| 21 |
RUN apt-get update && apt-get install -y nginx && rm -rf /var/lib/apt/lists/*
|
| 22 |
|
| 23 |
-
RUN
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
|
| 28 |
# Copy nginx config
|
| 29 |
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
| 20 |
# Install nginx
|
| 21 |
RUN apt-get update && apt-get install -y nginx && rm -rf /var/lib/apt/lists/*
|
| 22 |
|
| 23 |
+
RUN rm /etc/nginx/nginx.conf
|
| 24 |
+
|
| 25 |
+
# Copy your custom nginx.conf (the minimal one above)
|
| 26 |
+
COPY nginx.conf /etc/nginx/nginx.conf
|
| 27 |
|
| 28 |
# Copy nginx config
|
| 29 |
COPY nginx.conf /etc/nginx/conf.d/default.conf
|