langfuse-shared / Dockerfile
andrewrreed's picture
andrewrreed HF staff
Duplicate from langfuse/langfuse-template-space
e3aa5a6 verified
raw
history blame
427 Bytes
FROM langfuse/langfuse:2
USER root
# Install PostgreSQL and necessary dependencies
RUN apk update && apk add --no-cache \
postgresql \
postgresql-contrib \
net-tools \
iproute2 \
sed
# Copy and set up the wrapper script
COPY docker-entrypoint-wrapper.sh /docker-entrypoint-wrapper.sh
RUN chmod +x /docker-entrypoint-wrapper.sh
EXPOSE 3000
ENTRYPOINT ["dumb-init", "--", "/docker-entrypoint-wrapper.sh"]