initial dagster setup

This commit is contained in:
Ben Varick 2025-11-05 17:24:58 -08:00
parent af2213f0ab
commit 7791d034ae
Signed by: ben
SSH key fingerprint: SHA256:jWnpFDAcacYM5aPFpYRqlsamlDyKNpSj3jj+k4ojtUo
8 changed files with 232 additions and 0 deletions

20
Dockerfile_user_code_gtfs Normal file
View file

@ -0,0 +1,20 @@
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
WORKDIR /opt/dagster/app
COPY user_code/gtfs /opt/dagster/app
COPY definitions.py /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"]