mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
fix: add ca-certs to livestream image (#23078)
This commit is contained in:
parent
96f60f80db
commit
e650a759a0
@ -14,6 +14,8 @@ export function liveEventsHostOrigin(): string | null {
|
||||
return 'https://live.us.posthog.com'
|
||||
} else if (appOrigin === 'https://eu.posthog.com') {
|
||||
return 'https://live.eu.posthog.com'
|
||||
} else if (appOrigin === 'https://app.dev.posthog.dev') {
|
||||
return 'https://live.dev.posthog.dev'
|
||||
}
|
||||
return 'http://localhost:8666'
|
||||
}
|
||||
|
@ -21,4 +21,7 @@ RUN apt-get update && \
|
||||
|
||||
FROM ubuntu
|
||||
COPY --from=builder /livestream /GeoLite2-City.mmdb /
|
||||
COPY --from=builder /etc/ssl/certs /etc/ssl/certs
|
||||
COPY --from=builder /usr/share/ca-certificates /usr/share/ca-certificates
|
||||
|
||||
CMD ["/livestream"]
|
||||
|
Loading…
Reference in New Issue
Block a user