Skip to content

Commit

Permalink
solve psycopg2
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Mar 12, 2024
1 parent 2702fd0 commit cb890af
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM apache/superset:pr-24161
USER root
#RUN python3 -m pip install mysql-connector-python
RUN pip install itsdangerous==2.0.1 flask-oidc==1.4.0 Flask-OpenID==1.3.0 psycopg2==2.9.9
#
# Add custom superset_config.py file and shell files
COPY superset_config.py /app/
ENV SUPERSET_CONFIG_PATH /app/superset_config.py
#
ADD keycloak_security_manager.py /app/pythonpath
#
#RUN pip install --upgrade pip
#RUN pip uninstall fbprophet pystan
#RUN pip install --upgrade pip setuptools
RUN pip install lunarcalendar==0.0.9 tqdm==4.64.0
RUN pip install cython==0.29.21
RUN pip install "pystan<3.0"
RUN pip install "prophet>=1.0.1,<1.1"
#
CMD ["/bin/sh","-c","/usr/bin/run-server.sh"]
USER superset
#

0 comments on commit cb890af

Please sign in to comment.