File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ RUN make build/chromad
3232FROM alpine:3.19 AS runtime
3333
3434# Install ca-certificates for HTTPS requests
35- RUN apk --no-cache add ca-certificates
35+ RUN apk --no-cache add ca-certificates curl
3636
3737# Create a non-root user
3838RUN addgroup -g 1001 chromad && \
@@ -54,12 +54,12 @@ USER chromad
5454EXPOSE 8080
5555
5656# Set default environment variables
57- ENV PORT=0.0.0.0: 8080
57+ ENV PORT=8080
5858ENV CHROMA_CSRF_KEY="testtest"
5959
6060# Health check
6161HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
6262 CMD curl -fsSL http://127.0.0.1:8080/ > /dev/null
6363
6464# Run the application
65- CMD ["sh" , "-c" , "./chromad --csrf-key=$CHROMA_CSRF_KEY --bind=$PORT" ]
65+ CMD ["sh" , "-c" , "./chromad --csrf-key=$CHROMA_CSRF_KEY --bind=0.0.0.0: $PORT" ]
You can’t perform that action at this time.
0 commit comments