Commit
·
cd5ca9e
1
Parent(s):
ad8ebb5
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -38,7 +38,11 @@ RUN mkdir -p /tmp/data /tmp/model /tmp/logs /app/logs && \
|
|
| 38 |
chmod -R 755 /tmp/data /tmp/model /tmp/logs /app/logs
|
| 39 |
|
| 40 |
# Make scripts executable
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
# Copy initial datasets if they exist
|
| 44 |
RUN if [ -f /app/data/combined_dataset.csv ]; then \
|
|
|
|
| 38 |
chmod -R 755 /tmp/data /tmp/model /tmp/logs /app/logs
|
| 39 |
|
| 40 |
# Make scripts executable
|
| 41 |
+
## Run without health check
|
| 42 |
+
# RUN chmod +x /app/start.sh
|
| 43 |
+
|
| 44 |
+
# Run with health check
|
| 45 |
+
RUN chmod +x /app/start.sh /app/health_check.sh
|
| 46 |
|
| 47 |
# Copy initial datasets if they exist
|
| 48 |
RUN if [ -f /app/data/combined_dataset.csv ]; then \
|