Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -11,6 +11,9 @@ RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
|
11 |
COPY requirements.txt .
|
12 |
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
|
|
|
|
|
|
|
14 |
# Salin kode aplikasi
|
15 |
COPY app.py .
|
16 |
|
|
|
11 |
COPY requirements.txt .
|
12 |
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
|
14 |
+
# Bersihkan cache lama (opsional, untuk mencegah error)
|
15 |
+
RUN rm -rf /app/cache
|
16 |
+
|
17 |
# Salin kode aplikasi
|
18 |
COPY app.py .
|
19 |
|