Brian Abelson
02/05/2021, 7:39 PM0.10.4
(from 0.9.22post0) and am having issues installing dagster
and dagit
together using docker
. for one, there doesnt seem to be an explicitly stateded requirement for gevent
in dagit
:
The 'gevent' distribution was not found and is required by dagit, gevent-websocket
I then seem to have to jump through an endless string of adding different dependencies or addressing version mismatches (most related to graphql). is there some reason why these dependency issues would occur in a docker env and not in my local dev env (Mac OS X)? My requirements.txt
and Dockerfile
are pasted below:
requirements:
dagster>=0.10.4
dagit>=0.10.4
dagster-pandas>=0.10.4
dagster-slack>=0.10.4
dagster_postgres>=0.10.4
dagster_dbt>=0.10.4
pandas<=1.1.4
marketorestpython==0.5.8
pandasql==0.7.3
python-dotenv==0.10.3
retry>=0.9.2
simple-salesforce==1.10.1
SQLAlchemy==1.3.20
PyMySQL>=1.0.0
pytz<2021.0
pyaml==20.4.0
psycopg2>=2.8.0
CensusData>=1.11.post1
Dockerfile:
FROM python:3.9.0-slim
RUN apt-get update -yqq && \
apt-get install -yqq cron gcc git && \
apt-get install -yqq libpq-dev && \
apt-get install -yqq default-libmysqlclient-dev && \
apt-get install libmariadbclient-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV DAGSTER_HOME=/opt/dagster/dagster_home/
COPY . /opt/dagster/dagster_home
WORKDIR /opt/dagster/dagster_home
RUN python3 setup.py install
EXPOSE 3000
ENTRYPOINT ["dagit", "-h", "0.0.0.0", "-p", "3000"]
python3 setup.py install
to pip install -e .
daniel
02/05/2021, 7:52 PM