17 lines
390 B
Docker
17 lines
390 B
Docker
FROM apache/superset:4.1.1
|
|
|
|
USER root
|
|
|
|
RUN mkdir -p /app/pythonpath
|
|
|
|
RUN apt-get update && apt-get install -y libpq-dev gcc && \
|
|
pip install psycopg2 clickhouse-connect
|
|
|
|
|
|
# Copy the entrypoint script into the container
|
|
COPY superset_config.py /app/pythonpath/
|
|
COPY init_superset.sh /usr/bin/init_superset.sh
|
|
|
|
# Make sure the script is executable
|
|
RUN chmod +x /usr/bin/init_superset.sh
|