21 lines
521 B
Text
21 lines
521 B
Text
FROM python:3.10-slim
|
|
|
|
# Checkout and install dagster libraries needed to run the gRPC server
|
|
# exposing your repository to dagster-webserver and dagster-daemon, and to load the DagsterInstance
|
|
|
|
RUN pip install \
|
|
dagster \
|
|
dagster-postgres \
|
|
dagster-docker \
|
|
dagster-duckdb \
|
|
pandas \
|
|
requests
|
|
|
|
WORKDIR /opt/dagster/app
|
|
COPY user_code/gtfs /opt/dagster/app
|
|
|
|
# Run dagster gRPC server on port 4000
|
|
|
|
EXPOSE 4000
|
|
|
|
CMD ["dagster", "api", "grpc", "-h", "0.0.0.0", "-p", "4000", "-f", "definitions.py"]
|