Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,11 @@ ENV S3_BUCKET_NAME=request-response-storage
ENV S3_PROMPT_BUCKET_NAME=prompt-body-storage
ENV BETTER_AUTH_SECRET=change-me-in-production

# Pull the AI Gateway binary from the published image so supervisord can run it.
COPY --from=helicone/ai-gateway:latest /usr/local/bin/ai-gateway /usr/local/bin/ai-gateway

CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]

# --------------------------------------------------------------------------------------------------------------------

EXPOSE 3000 8585 8123 9080 9001 5432
EXPOSE 3000 8585 8123 8788 9080 9001 5432
3 changes: 1 addition & 2 deletions supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ stdout_logfile=/var/log/supervisor/minio-setup.out.log
environment=MINIO_ROOT_USER="minioadmin",MINIO_ROOT_PASSWORD="minioadmin"

[program:ai-gateway]
command=yarn start
directory=/app/gateway
command=/usr/local/bin/ai-gateway
autostart=true
autorestart=true
stderr_logfile=/var/log/supervisor/ai-gateway.err.log
Expand Down