Spaces:
Sleeping
Sleeping
SIN-Deploy-Bot commited on
Commit ·
256b7ec
1
Parent(s): 342d3f7
fix: add execute permission for start.sh to prevent runtime crash
Browse filesThe container was failing with 'permission denied' on /app/start.sh.
Adding chmod +x after COPY ensures the entrypoint is executable.
- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -29,6 +29,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 29 |
# App Code (achtet .dockerignore)
|
| 30 |
COPY . /app
|
| 31 |
|
|
|
|
|
|
|
|
|
|
| 32 |
# Workspace
|
| 33 |
RUN mkdir -p /workspace
|
| 34 |
|
|
|
|
| 29 |
# App Code (achtet .dockerignore)
|
| 30 |
COPY . /app
|
| 31 |
|
| 32 |
+
# Fix permissions for entrypoint
|
| 33 |
+
RUN chmod +x /app/start.sh
|
| 34 |
+
|
| 35 |
# Workspace
|
| 36 |
RUN mkdir -p /workspace
|
| 37 |
|