Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -15,6 +15,9 @@ RUN pip install --no-cache-dir --default-timeout=300 -r requirements.txt
|
|
| 15 |
# Copy the rest of the application code into the container at /app
|
| 16 |
COPY . .
|
| 17 |
|
|
|
|
|
|
|
|
|
|
| 18 |
# Set the default port for the application inside the container
|
| 19 |
ENV GEMINI_PORT=7860
|
| 20 |
|
|
|
|
| 15 |
# Copy the rest of the application code into the container at /app
|
| 16 |
COPY . .
|
| 17 |
|
| 18 |
+
# Create the log file and set its permissions before running the app
|
| 19 |
+
RUN touch /app/gemini_proxy.log && chmod 666 /app/gemini_proxy.log
|
| 20 |
+
|
| 21 |
# Set the default port for the application inside the container
|
| 22 |
ENV GEMINI_PORT=7860
|
| 23 |
|