Spaces:
Runtime error
Runtime error
Fix startup script permissions
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -20,7 +20,8 @@ COPY minimal_static_app.py /app/minimal_static_app.py
|
|
| 20 |
COPY scripts/start_minimal_space.sh /app/scripts/start_minimal_space.sh
|
| 21 |
COPY README.md /app/README.md
|
| 22 |
|
| 23 |
-
RUN
|
|
|
|
| 24 |
|
| 25 |
HEALTHCHECK --interval=30s --timeout=5s --start-period=20s --retries=10 \
|
| 26 |
CMD curl -f http://localhost:8000/health || exit 1
|
|
|
|
| 20 |
COPY scripts/start_minimal_space.sh /app/scripts/start_minimal_space.sh
|
| 21 |
COPY README.md /app/README.md
|
| 22 |
|
| 23 |
+
RUN chmod +x /app/scripts/start_minimal_space.sh \
|
| 24 |
+
&& echo '[build] copied files' && ls -la /app && ls -la /app/scripts
|
| 25 |
|
| 26 |
HEALTHCHECK --interval=30s --timeout=5s --start-period=20s --retries=10 \
|
| 27 |
CMD curl -f http://localhost:8000/health || exit 1
|