Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
# Agenta on Hugging Face Spaces - Fixed
|
| 2 |
# Uses official Agenta images with SQLite instead of PostgreSQL
|
| 3 |
|
| 4 |
FROM ghcr.io/agenta-ai/agenta-api:latest AS api-base
|
|
@@ -45,7 +45,7 @@ ENV AGENTA_SERVICES_URL=http://localhost:7860/services
|
|
| 45 |
ENV ENVIRONMENT=production
|
| 46 |
ENV FEATURE_FLAG=oss
|
| 47 |
|
| 48 |
-
# Create supervisor config
|
| 49 |
RUN cat > /etc/supervisor/conf.d/supervisord.conf << 'EOF'
|
| 50 |
[supervisord]
|
| 51 |
nodaemon=true
|
|
@@ -69,7 +69,7 @@ autorestart=true
|
|
| 69 |
priority=2
|
| 70 |
stdout_logfile=/var/log/supervisor/api.log
|
| 71 |
stderr_logfile=/var/log/supervisor/api.err
|
| 72 |
-
environment=DATABASE_URL="%(ENV_DATABASE_URL)s",REDIS_URL="%(
|
| 73 |
|
| 74 |
[program:web]
|
| 75 |
command=bash -c "sleep 10 && cd /app/web && npm start"
|
|
|
|
| 1 |
+
# Agenta on Hugging Face Spaces - Fixed typo in supervisor config
|
| 2 |
# Uses official Agenta images with SQLite instead of PostgreSQL
|
| 3 |
|
| 4 |
FROM ghcr.io/agenta-ai/agenta-api:latest AS api-base
|
|
|
|
| 45 |
ENV ENVIRONMENT=production
|
| 46 |
ENV FEATURE_FLAG=oss
|
| 47 |
|
| 48 |
+
# Create supervisor config - FIXED TYPO HERE
|
| 49 |
RUN cat > /etc/supervisor/conf.d/supervisord.conf << 'EOF'
|
| 50 |
[supervisord]
|
| 51 |
nodaemon=true
|
|
|
|
| 69 |
priority=2
|
| 70 |
stdout_logfile=/var/log/supervisor/api.log
|
| 71 |
stderr_logfile=/var/log/supervisor/api.err
|
| 72 |
+
environment=DATABASE_URL="%(ENV_DATABASE_URL)s",REDIS_URL="%(ENV_REDIS_URL)s",ENVIRONMENT="production"
|
| 73 |
|
| 74 |
[program:web]
|
| 75 |
command=bash -c "sleep 10 && cd /app/web && npm start"
|