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
32
32
FROM alpine:3.19 AS runtime
33
33
34
34
# Install ca-certificates for HTTPS requests
35
- RUN apk --no-cache add ca-certificates
35
+ RUN apk --no-cache add ca-certificates curl
36
36
37
37
# Create a non-root user
38
38
RUN addgroup -g 1001 chromad && \
@@ -54,12 +54,12 @@ USER chromad
54
54
EXPOSE 8080
55
55
56
56
# Set default environment variables
57
- ENV PORT=0.0.0.0: 8080
57
+ ENV PORT=8080
58
58
ENV CHROMA_CSRF_KEY="testtest"
59
59
60
60
# Health check
61
61
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
62
62
CMD curl -fsSL http://127.0.0.1:8080/ > /dev/null
63
63
64
64
# 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