Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -13,6 +13,9 @@ COPY --chown=appuser:appuser . /app
|
|
| 13 |
# Install any needed packages specified in requirements.txt
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
# Make port 8080 available to the world outside this container
|
| 17 |
EXPOSE 8080
|
| 18 |
|
|
|
|
| 13 |
# Install any needed packages specified in requirements.txt
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
+
# Ensure the extracted directory exists and has correct permissions
|
| 17 |
+
RUN mkdir -p /app/extracted && chown appuser:appuser /app/extracted
|
| 18 |
+
|
| 19 |
# Make port 8080 available to the world outside this container
|
| 20 |
EXPOSE 8080
|
| 21 |
|